Reset UITextField's original placeholder text
Posted
by Michael
on Stack Overflow
See other posts from Stack Overflow
or by Michael
Published on 2010-05-10T02:45:42Z
Indexed on
2010/05/10
2:48 UTC
Read the original article
Hit count: 331
iphone
|uitextfield
I'm adding some user feedback mechanism into my app. The user types some comments into a text field and when that editing is done it updates a UITextView. Then when the user hits the submit button and moves on in the app the user may have need to send more feedback from the same form for a different item. I can reset the other fields and labels in the app to their default values when I hide the view, but not the textField (?). How can I reestablish the placeholder text next time the user accesses this view?
Your suggestions are humbly appreciated.
© Stack Overflow or respective owner