View Full Version : cursor position in UITextView

Nov 2, 2009, 02:39 AM
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