Wednesday, 29 May 2013

TO Clear UITextField Placeholder text on tap



TO add a placeholder text in UITextField


yourTextField.placeholder=@"User Name";

 To remove when tap 

- (void)textFieldDidBeginEditing:(UITextField *)textField {
    textField.placeholder = nil;

}