键盘的frame发生改变
/** * 键盘的frame发生改变时调用(显示、隐藏等) */ - (void)keyboardWillChangeFrame:(NSNotification *)notification { /** notification.userInfo = @{ // 键盘弹出\隐藏后的frame UIKeyboardFrameEndUserInfoKey = NSRect: {{0, 352}, {320, 216}}, // 键盘弹出\隐藏所耗费的时间 UIKeyboardAnimationDurationUserInfoKey = 0.25, // 键盘弹出\隐藏动画的执行节奏(先快后慢,匀速) UIKeyboardAnimationCurveUserInfoKey = 7 } */ }