• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
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


  • 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

  • Prev by Date: Re: Problem with setNeedsLayout and layoutSubviews in UIScrollView
  • Next by Date: problem with applying md5 to data
  • Previous by thread: Re: Menu Title Icon in Cocoa
  • Next by thread: problem with applying md5 to data
  • Index(es):
    • Date
    • Thread