zoukankan      html  css  js  c++  java
  • iOS上百度输入法引起的问题

     /*

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

        }

        */

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

    待续吧,已经碰到两个了

         

     

     

  • 相关阅读:
    typeScript 之(3) 类型
    TypeScript 采坑 记录
    typeScript 之(2) 环境部署
    typeScript 之(1) 简介
    webpack 之(29) optiization配置详解
    webpack 之(28) devServer配置详解
    webpack 之(27) resolve配置详解
    webpack 之(26) module配置详解
    docker中的Mysql数据卷与持久化
    TCP三次握手四次挥手
  • 原文地址:https://www.cnblogs.com/willbin/p/4155845.html
Copyright © 2011-2022 走看看