Placeholder for UITextView

Posted by Gill Bates on Stack Overflow See other posts from Stack Overflow or by Gill Bates
Published on 2011-03-17T16:07:33Z Indexed on 2011/03/17 16:10 UTC
Read the original article Hit count: 252

Filed under:

Anyone ever implements something in UITextView that stopping it from receiving future inputs when the text length is smaller than certain threshold? I plan to implement a textview like we have in the mail composer interface. We have a placeholder "Subject" there, and the cursor starts after.

Placeholder in UITextView Inspired from this question, I wonder if there are some methods which could be used to stop changing the text in the UITextView once the cursor is moving back to the placeholder string.

Any ideas?

© Stack Overflow or respective owner

Related posts about uitextview