开发者

Getting viewable text position after scroll a UITextView

开发者 https://www.devze.com 2023-03-15 22:55 出处:网络
I have a UITextView and a slide control. The text view has a long content to read. I can drag slide开发者_如何学运维 to move text view text to corresponding percentage now. But I want to move slide to

I have a UITextView and a slide control. The text view has a long content to read. I can drag slide开发者_如何学运维 to move text view text to corresponding percentage now. But I want to move slide to corresponding position by scroll text view. I can use an inherit UITextView to catch event. But how I can get current viewable text position?

0

精彩评论

暂无评论...
验证码 换一张
取 消