码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2014-12-10 17:48:27      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:blog   io   ar   os   使用   sp   on   数据   div   

 /*

     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上百度输入法引起的问题

标签:blog   io   ar   os   使用   sp   on   数据   div   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!