ich die folgende Warnung nur, wenn ich meine app laufen und haben Personal Hotspot aktiviert und damit die Personal Hotspot blauen Balken auf dem oberen Rand des Bildschirms haben. Gibt es eine Möglichkeit, das zu beheben?„Kann nicht Zwänge gleichzeitig erfüllen“ mit blauem Personal Hotspot Bar
2016-05-19 09:07:55.589 RemindersPro[591:121237] 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:0x145d7ff30 V:|-(20)-[UIInputSetContainerView:0x145e77b70] (Names: '|':UITextEffectsWindow:0x145d7e8d0)>",
"<NSLayoutConstraint:0x145d307a0 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x145e77b70] (Names: '|':UITextEffectsWindow:0x145d7e8d0)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x145d7ff30 V:|-(20)-[UIInputSetContainerView:0x145e77b70] (Names: '|':UITextEffectsWindow:0x145d7e8d0)>
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.
updating
reminderListsStructure of 24 calendars recreated.
Ich versuchte es in In Call Status Bar (Unable to Satisfy Constraints) wie empfohlen Festsetzung durch die folgende Funktion meiner AppDelegate hinzufügen. Leider hat es nicht geholfen.
func application(application: UIApplication, willChangeStatusBarFrame newStatusBarFrame: CGRect) {
for window in UIApplication.sharedApplication().windows {
if window.dynamicType.self.description().containsString("UITextEffectsWindow") {
window.removeConstraints(window.constraints)
}
}
}
Ich habe keine Einschränkungen für die Root-View-Controller haben. Und ich setze keine Programmatically. Wie kann ich herausfinden, was das verursacht und wo diese Einschränkungen sind? – Daniel
@Daniel Versuchen Sie, den Code in App Delegate zu ändern, um Einschränkungen für ALLE Fenster zu entfernen, dann – brimstone
Wie kann ich das tun? – Daniel