草庐IT

pickerKeyboard

全部标签

ios - 跟踪 firstResponder 对象

我需要跟踪哪个文本字段是我的自定义键盘工作的firstResponder。在下面的代码中,我大大简化了我的程序,但这是问题的要点:@implementationSimplePickerViewController@synthesizepickerKeyboard;@synthesizetextView;@synthesizetextView2;@synthesizefirstResponder;-(void)viewDidLoad{pickerKeyboard=[[PickerKeyboardViewControlleralloc]initWithNibName:@"PickerKey