Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 2, 2009, 02:39 AM   #1
assayag
macrumors newbie
 
Join Date: Nov 2009
cursor position in UITextView

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
assayag is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
UITextView drawing MrFusion iPhone/iPad Programming 1 May 9, 2014 09:58 PM
How do you set cursor initial cursor position and NSTextField bounds? DavidBlack Mac Programming 3 Mar 1, 2014 11:46 AM
Cursor position in TextEdit: always at the bottom of the screen? Monsoonmalabard Mac Applications and Mac App Store 0 Oct 28, 2012 01:34 PM
UITextView insert rubenmit iPhone/iPad Programming 8 Aug 8, 2012 03:38 PM
dragging text to a UITextView straber iPhone/iPad Programming 0 Jul 11, 2012 01:36 PM

Forum Jump

All times are GMT -5. The time now is 07:08 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC