platform: iOS XCode langugae:Objective-C When the status bars height is 40px,we run the code ,the error happened like the following
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:0x7fe903dd5940 UIInputSetContainerView:0x7fe903dd2e50.top == UITextEffectsWindow:0x7fe903e554b0.top + 20>,
<NSLayoutConstraint:0x7fe903d82c00 UIInputSetContainerView:0x7fe903dd2e50.top == UITextEffectsWindow:0x7fe903e554b0.top>
]
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x7fe903dd5940 UInputSetContainerView:0x7fe903dd2e50.top == UITextEffectsWindow:0x7fe903e554b0.top>
So what should I do?Window of AppDelegate changed position.