摘要: /** * 键盘的frame发生改变时调用(显示、隐藏等) */- (void)keyboardWillChangeFrame:(NSNotification *)notification{/** notification.userInfo = @{ // 键盘弹出\隐藏后的fram... 阅读全文
posted @ 2015-11-28 19:04 Z了个L 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 键盘的frame发生改变时发出的通知(位置和尺寸) UIKeyboardWillChangeFrameNotification UIKeyboardDidChangeFrameNotification键盘显示时发出的通知 UIKeyboardWillShowNotification UIKeyboa... 阅读全文
posted @ 2015-11-28 18:49 Z了个L 阅读(159) 评论(0) 推荐(0) 编辑
摘要: UITextField: 1.文字永远是一行,不能显示多行文字 2.有placehoder属性设置占位文字 3.继承自UIControl 4.监听行为 1> 设置代理 2> addTarget:action:forControlEvents: 3> 通知:UITextFieldText... 阅读全文
posted @ 2015-11-28 09:38 Z了个L 阅读(113) 评论(0) 推荐(0) 编辑