• Das kreative Thema des Monats Oktober wird vor allem diejenigen unter Euch besonders ansprechen, denen Do-it-yourself quasi im Blut liegt. Zeigt uns Eure Improvisationskünste oder fotografiert, was andere Leute sich so im Alltag zusammengestrickt haben. --> Zum Mitmachen bitte hier klicken

Constraint - Problem

SpecialFighter

James Grieve
Registriert
25.04.12
Beiträge
132
Guten Morgen zusammen,

seit kurzem bekomme ich beim starten meiner app (es scheint als erstes immer ein TableView) diese Warnungen in der Konsole. Wie kann ich dies beheben?

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)
(
"<NSLayoutConstraint:0x137dd45d0 V:|-(20)-[UIInputSetContainerView:0x137dd3de0] (Names: '|':UIRemoteKeyboardWindow:0x137dd2460 )>",
"<NSLayoutConstraint:0x137dd5f00 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x137dd3de0] (Names: '|':UIRemoteKeyboardWindow:0x137dd2460 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x137dd45d0 V:|-(20)-[UIInputSetContainerView:0x137dd3de0] (Names: '|':UIRemoteKeyboardWindow:0x137dd2460 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

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)
(
"<NSLayoutConstraint:0x137dcc1a0 V:|-(20)-[UIInputSetContainerView:0x137dca060] (Names: '|':UITextEffectsWindow:0x137edb5a0 )>",
"<NSLayoutConstraint:0x137edade0 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x137dca060] (Names: '|':UITextEffectsWindow:0x137edb5a0 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x137dcc1a0 V:|-(20)-[UIInputSetContainerView:0x137dca060] (Names: '|':UITextEffectsWindow:0x137edb5a0 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.