You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In one of my applications, I just see a warning and everything is fine. In another one, the warning is accompanied by this crash:
2020-12-17 18:58:36.680164+0800 eDrumIn iOS[617:54854] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x283f930c0 h=--& v=--& _UIButtonBarButton:0x121e83be0.height == 0 (active)>",
"<NSLayoutConstraint:0x283f95b30 V:|-(6)-[_UIUCBKBSelectionBackground:0x121e84500] (active, names: '|':_UIButtonBarButton:0x121e83be0 )>",
"<NSLayoutConstraint:0x283f95bd0 _UIUCBKBSelectionBackground:0x121e84500.bottom == _UIButtonBarButton:0x121e83be0.bottom - 6 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283f95bd0 _UIUCBKBSelectionBackground:0x121e84500.bottom == _UIButtonBarButton:0x121e83be0.bottom - 6 (active)>
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.
The text was updated successfully, but these errors were encountered:
In one of my applications, I just see a warning and everything is fine. In another one, the warning is accompanied by this crash:
The text was updated successfully, but these errors were encountered: