Good morning to everyone!
Now my app is working but in console I have this error:
2023-03-21 07:27:25.423880+0100 PizzaList[89927:3378610] [LayoutConstraints] 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:0x60000311bb10 'accessoryView.bottom' _UIRemoteKeyboardPlaceholderView:0x7f7bcad5c1e0.bottom == _UIKBCompatInputView:0x7f7bca946620.top (active)>",
"<NSLayoutConstraint:0x600003117c00 'assistantHeight' SystemInputAssistantView.height == 45 (active, names: SystemInputAssistantView:0x7f7bc9f36bb0 )>",
"<NSLayoutConstraint:0x60000311b890 'assistantView.bottom' SystemInputAssistantView.bottom == _UIKBCompatInputView:0x7f7bca946620.top (active, names: SystemInputAssistantView:0x7f7bc9f36bb0 )>",
"<NSLayoutConstraint:0x60000311b840 'assistantView.top' V:[_UIRemoteKeyboardPlaceholderView:0x7f7bcad5c1e0]-(0)-[SystemInputAssistantView] (active, names: SystemInputAssistantView:0x7f7bc9f36bb0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000311b840 'assistantView.top' V:[_UIRemoteKeyboardPlaceholderView:0x7f7bcad5c1e0]-(0)-[SystemInputAssistantView] (active, names: SystemInputAssistantView:0x7f7bc9f36bb0 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
I must import UIKit, I think. Right?
Thanks!
2
0
1.5k