cursor position in UITextView

Discussion in 'iPhone/iPad Programming' started by assayag, Nov 2, 2009.

  1. macrumors newbie

    Joined:
    Nov 2, 2009
    #1
    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
     

Share This Page