Created
August 24, 2015 05:08
-
-
Save macbaszii/9deec093bc1b6e15e197 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) | |
| (...........) | |
| 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment