tags:

views:

190

answers:

1

I would like to know how to get the cursor position coordinates in UITextView.

To be clear, I know how to get the cursor position in the string that is currently dislayed using selectedRange property.

I want to get the (x,y) coordinates relative to the view. This feature is available in java, .net etc... so I don't understand why it is not available in apple sdk.

I know that iphone must use this information to correct spelling for example in sms editor.

Thanks for help

A: 

I am also wondering how to do it. Any help is appreciated, thanks!

Tianzhou Chen