Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
how to get viewable text position after scroll a UITextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to get viewable text position after scroll a UITextView



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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.