• Apfeltalk ändert einen Teil seiner Allgemeinen Geschäftsbedingungen (AGB), das Löschen von Useraccounts betreffend.
    Näheres könnt Ihr hier nachlesen: AGB-Änderung
  • Die Bildungsoffensive hier im Forum geht weiter! Jetzt sollen Kreativität und technische Möglichkeiten einen neue Dimension erreichen. Das Thema in diesem Monat lautet - Verkehrte Welt - Hier geht es lang --> Klick

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.