OC 中 調用系統的通知
UITextFieldTextDidBeginEditingNotification
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(UITextFieldTextBeg:) name:UITextFieldTextDidBeginEditingNotification object:nil];
-(void)UITextFieldTextDidBeginEditingNotification :(NSNotification *)sender{
}
界面有2個text
怎麼在這個方法中獲得我點了是text1 或者是 text2的方法
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(UITextFieldTextBeg:) name:UITextFieldTextDidBeginEditingNotification object:nil];//將nil 換成你要UITextFile