API 错误:<_UIKBCompatInputView: 0x13fd1d7c0;帧 = (0 0; 0 0);层=<CALayer:0x1c4426e40>>返回 0 宽度,假设 UIViewNoIntrinsicMetric [英] API error: <_UIKBCompatInputView: 0x13fd1d7c0; frame = (0 0; 0 0); layer = <CALayer: 0x1c4426e40>> returned 0 width, assuming UIViewNoIntrinsicMetric

查看:46
本文介绍了API 错误:<_UIKBCompatInputView: 0x13fd1d7c0;帧 = (0 0; 0 0);层=<CALayer:0x1c4426e40>>返回 0 宽度,假设 UIViewNoIntrinsicMetric的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 iPhone 7 plus 和 iOS 11 上使用 Ionic 3.当我运行我的应用程序并填写一些文本/输入字段(基本表单)时,应用程序会冻结几秒钟并变得完全无响应(这是't好,至少不用说).我注意到 Xcode 中出现了这个错误,也许这就是问题所在.有没有其他人遇到过类似的错误?

I'm using Ionic 3 on iPhone 7 plus with iOS 11. When I run my App, and fill in some text/input fields (basic forms) the app freezes for a few seconds and becomes completely unresponsive (which isn't good, not to say the least). I noticed this error coming up in Xcode, maybe that's the problem. Has anyone else encountered similar errors?

API 错误:<_UIKBCompatInputView: 0x13fd1d7c0;帧 = (0 0; 0 0);layer = > 返回 0 宽度,假设UIViewNoIntrinsicMetric

API error: <_UIKBCompatInputView: 0x13fd1d7c0; frame = (0 0; 0 0); layer = > returned 0 width, assuming UIViewNoIntrinsicMetric

推荐答案

app.module.ts 中的 forRoot 配置中移除不推荐使用的项目

IonicModule.forRoot(),

例如.删除这些:

{
  scrollPadding: true,
  scrollAssist: false
}

有关详细信息,请参阅 https://ionicframework.com/docs/utilities/config.

See https://ionicframework.com/docs/utilities/config for more info.

这篇关于API 错误:&lt;_UIKBCompatInputView: 0x13fd1d7c0;帧 = (0 0; 0 0);层=&lt;CALayer:0x1c4426e40&gt;&gt;返回 0 宽度,假设 UIViewNoIntrinsicMetric的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆