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

问题描述

我正在iPhone 7和iOS 11上使用Ionic 3,当我运行我的应用程序并填写一些文本/输入字段(基本形式)时,该应用程序冻结了几秒钟,变得完全无响应(这是很好,至少可以说).我注意到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?

推荐答案

app.module.ts

IonicModule.forRoot(),

例如.删除这些:

{
  scrollPadding: true,
  scrollAssist: false
}

有关更多信息,请参见 https://ionicframework.com/docs/utilities/config

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

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

10-28 04:08