使用OS 9.3.1在iPhone SE上运行时,我开始收到以下内容
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x145d510c0 V:|-(20)-[UIInputSetContainerView:0x145d4f4e0] (Names: '|':UITextEffectsWindow:0x145d47bf0 )>",
"<NSLayoutConstraint:0x145d47140 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x145d4f4e0] (Names: '|':UITextEffectsWindow:0x145d47bf0 )>"
我在模拟器中没有问题(使用iPhone 5)。我无法忽略它,因为当我关闭另一个视图控制器时应用程序崩溃。
我将所有UI元素减少为无,但仍然出现此错误。我使用Debug View Hierarchy停止了代码,但是没有任何UIView约束引用匹配错误中列出的约束。