【发布时间】:2011-04-05 22:49:50
【问题描述】:
我的应用中有 2 个文本字段,并且都与我的“devTyping”IBAction 相关联。 这个方法(我猜是一个方法)会在“编辑改变”事件发生时被调用。
我如何知道我的方法,用户在哪个文本字段中输入?
- (IBAction)devTyping {
NSLog(@"How to know in which text field the user is typing?");
}
【问题讨论】:
标签: iphone ios button click ibaction