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

编程入门 行业动态 更新时间:2024-10-22 08:39:18

 /*

     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}}";

    }

    */

 

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

待续吧,已经碰到两个了

     

 

 

转载于:https://wwwblogs/willbin/p/4155845.html

更多推荐

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

本文发布于:2023-06-13 07:02:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1352843.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:输入法   iOS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!