In Xcode4 I\'ve created some placeholder text for a UITextField and I\'d like it to clear when the user taps in the box.
So, in the Attributes Inspector for the text fie
In your .h file declare a function like
-(IBAction)clear:(id)sender;
attach this function to your touchdown event of your UITextField.
UITextField
in your .m file
-(IBAction)clear:(id)sender { myplaceHolderText.text=@""; }