键盘回收
小手一背爱谁谁
这个作者很懒,什么都没留下…
展开
-
iOS 点空白处回收键盘
// 回收键盘 _number 和_phone 两个输入框- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { if (![_number isExclusiveTouch]) { [_number resignFirstResponder]; } if原创 2016-03-22 11:47:18 · 682 阅读 · 0 评论 -
ios 弹出键盘 顶端navigationbar 会上移
是因为使用了IQKeyBoardManager 问题加上这段代码解决-(void)loadView { UIScrollView *scView = [[UIScrollView alloc]initWithFrame:[UIScreen mainScreen].bounds]; self.view = scView;}原创 2016-02-02 15:40:06 · 4797 阅读 · 3 评论