XAM-Consulting/TEditor

IOS 11: Application crash on switching keyboard mode

Closed this issue · 2 comments

Hi,

My application crashes while switching keyboard mode from alphabetic to numeric keyboard.

Do you have any idea how we can fix this problem?

The last row is the one pointing to the offending code.

Error logs:
2017-10-02 14:54:14.179 TEditor.Forms.Sample.iOS[29082:2907807] API error: <_UIKBCompatInputView: 0x7fa7cc751980; frame = (0 0; 0 0); layer = <CALayer: 0x60000142aae0>> returned 0 width, assuming UIViewNoIntrinsicMetric
2017-10-02 14:54:14.179 TEditor.Forms.Sample.iOS[29082:2907807] API error: <_UIKBCompatInputView: 0x7fa7cc751980; frame = (0 0; 0 0); layer = <CALayer: 0x60000142aae0>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-10-02 14:54:23.688 TEditor.Forms.Sample.iOS[29082:2907807] *** Assertion failure in -[UIInputSetHostView _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3694.4.18/NSLayoutConstraint_UIKitAdditions.m:734

Thanks for your help beforehand!
Eric

We downloaded the latest version of ZSSRichTextEditor and it didn't crash. How different is your version compared to the original?