how to get viewable text position after scroll a UITextView
how to get viewable text position after scroll a UITextView
- Subject: how to get viewable text position after scroll a UITextView
- From: hufey <email@hidden>
- Date: Tue, 28 Jun 2011 16:25:36 +0800
I have a UITextView and a slide control. The text view has a long
content to read. I need textview can interact with slide control. Now
I can drag slide to move text view text to corresponding percentage by
calculating position of slide control. I want to move slide indicator
position to corresponding position by scroll text view too.
But how I can get current viewable text position? Then I can calculate
its percentage to move slide.
BTW, I can use an inherit UITextView to catch event now.
Thanks,
hufey
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden