UITextView Line wrapping not detecting
I have this Uiviewrepresentable with line numbers that works good enough, however when a line wraps around the line numbers don’t detect that. I used “enumerateLineFragments” but that uses the wrapped lines as separate ones. I am very new to UIKit and this is the best I could come up with because open source libraries don’t work particularly well and are very complex. Thanks in advance.