Wednesday, May 7, 2014

Event that is called when textfield got selected in iPhone

-(void)textFieldDidBeginEditing:(UITextField *)textField { //Keyboard becomes visible

    //perform actions.
}

Also have to set delegate self
self.mField.delegate=self;
@interface YourViewController : ViewController<UITextFieldDelegate>

No comments:

Post a Comment