akrant_iOSDeveloper
akrant_iOSDeveloper

Reputation: 373

Which TextFieldDelegate method should be called?

In my application , I want to show one popover view, whenever I am clicking in textfield. Which text field delegate method should I call?

Upvotes: 0

Views: 167

Answers (2)

Hiren
Hiren

Reputation: 12780

you have to write your functionality in

-(void)textFieldDidBeginEditing:(UITextField *)textField{        
    // became first responder
}

Upvotes: 2

Vikas S Singh
Vikas S Singh

Reputation: 1766

Use on the UITextFieldDelegate protocol......

- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField {

  NSLog(@"Editing Should Editing");  // SAVE PROCEDURE

}

Upvotes: 0

Related Questions