Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
when i use this method
-(void)textFieldDidBeginEditing:(UITextField *)textField
it gives me an error
use of undeclared identifier 'textFieldDidBeginEditing'
tell me the solution..
编辑:
yourTextField.delegate = self;
我想你忘了这个:
@interface YourViewController : UIViewController <UITextFieldDelegate>