首页 > 移动平台 > 详细

iOS上百度输入法引起的问题

时间:2014-12-10 17:45:41      阅读:298      评论:0      收藏:0      [点我收藏+]

 /*

     UIKeyboardWillShowNotification 通知下的数据

     

     百度

    {

        UIKeyboardAnimationCurveUserInfoKey = 7;

        UIKeyboardAnimationDurationUserInfoKey = "0.25";

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

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

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

        UIKeyboardFrameBeginUserInfoKey = "NSRect: {{0, 568}, {320, 44}}";

        UIKeyboardFrameEndUserInfoKey = "NSRect: {{0, 524}, {320, 44}}";

    }

    */

    

    /*

     九宫格

    {

        UIKeyboardAnimationCurveUserInfoKey = 7;

        UIKeyboardAnimationDurationUserInfoKey = "0.25";

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

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

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

        UIKeyboardFrameBeginUserInfoKey = "NSRect: {{0, 568}, {320, 295.5}}";

        UIKeyboardFrameEndUserInfoKey = "NSRect: {{0, 272.5}, {320, 295.5}}";

    }

    */

 

   // 百度输入法的这个事件通知中, 只有这些数据, 和系统的完全不一样, 不知道他们怎么想的, 导致一些第三库中使用这个时, 会出错!

待续吧,已经碰到两个了

     

 

 

iOS上百度输入法引起的问题

原文:http://www.cnblogs.com/willbin/p/4155845.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!