第一步 导入 #import <IQKeyboardManager/IQKeyboardManager.h>
第二 步
[self.textF.keyboardToolbar.doneBarButton setTarget:self action:@selector(doneAction:)];
- (void)doneAction:(UITextField*)TF
{
NSLog(@"do something");
}
[self.textF.keyboardToolbar.doneBarButton setTarget:self action:@selector(doneAction:)];
- (void)doneAction:(UITextField*)TF
{
NSLog(@"do something");
}
本文标题:IQKeyboardManager 完成done事件处理
本文链接:https://www.haomeiwen.com/subject/obcgtltx.html
网友评论