UITextView insert text in the textview text

Posted by John Smith on Stack Overflow See other posts from Stack Overflow or by John Smith
Published on 2010-05-08T01:33:19Z Indexed on 2010/05/08 1:38 UTC
Read the original article Hit count: 473

I want to have to occasionally insert text into the UITextView text object. For example, if the user presses the "New Paragraph" button I would like to insert a double newline instead of just the standard single newline.

How can I go about such? Do i have to read the string from UITextView, mutate it, and write it back? Then how would I know where the pointer was?

Thanks

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk