您的位置:首页 > 其它

弹出键盘

2015-10-12 11:36 309 查看
动画的执行节奏
    UIKeyboardAnimationCurveUserInfoKey = 7;
键盘弹出/隐藏动画所需要的时间
    UIKeyboardAnimationDurationUserInfoKey = "0.25";

    UIKeyboardBoundsUserInfoKey = "NSRect: {{0, 0}, {320, 253}}";

    UIKeyboardCenterBeginUserInfoKey = "NSPoint: {160, 606.5}";

    UIKeyboardCenterEndUserInfoKey = "NSPoint: {160, 353.5}";

键盘刚出来的frame
    UIKeyboardFrameBeginUserInfoKey = "NSRect: {{0, 480}, {320, 253}}";
键盘显示后的frame
    UIKeyboardFrameEndUserInfoKey = "NSRect: {{0, 227}, {320, 253}}";
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: