Pixel-Position of Cursor in UITextView

Posted by Raphael Schaad on Stack Overflow See other posts from Stack Overflow or by Raphael Schaad
Published on 2010-04-13T21:32:19Z Indexed on 2010/04/13 21:53 UTC
Read the original article Hit count: 377

Filed under:
|
|

Hello,

is there a way of getting the position (CGPoint) of the cursor in an UITextView (preferable relative to its content). I don’t mean the location as an NSRange. I need something around:

- (CGPoint)cursorPosition;

Thanks, Raphael

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone