Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

assayag

macrumors newbie
Original poster
Nov 2, 2009
1
0
Hi everybody.

I have some UITextView in which I am writing multi-lines text.
I'd like to find the caret/cursor coordinates (x,y) relative to view.

UITextView selectedRange method gives only the position of cursor within whole string but since there is no mapping between document position and screen coordintates, this information is not useful.


Any suggestion?

Thanks for help
Assayag
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.