Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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:0x8332050 h=--- v=--- V:[UIWindow:0x8326f00(480)]>",
- "<NSAutoresizingMaskLayoutConstraint:0x77c97e0 h=-&- v=-&- UIViewControllerWrapperView:0x77e2740.height == UINavigationTransitionView:0x834dd20.height - 64>",
- "<NSLayoutConstraint:0x77e7430 V:|-(425)-[UIView:0x77db6a0] (Names: '|':UIView:0x77bccd0 )>",
- "<NSAutoresizingMaskLayoutConstraint:0x77e6da0 h=-&- v=-&- UILayoutContainerView:0x83504f0.height == UIWindow:0x8326f00.height>",
- "<NSAutoresizingMaskLayoutConstraint:0x77e5c30 h=-&- v=-&- UITransitionView:0x83514b0.height == UILayoutContainerView:0x83504f0.height - 49>",
- "<NSLayoutConstraint:0x77e51d0 UIView:0x77db6a0.bottom == UIView:0x77bccd0.bottom>",
- "<NSAutoresizingMaskLayoutConstraint:0x77f5e30 h=-&- v=-&- UIView:0x77bccd0.height == UIViewControllerWrapperView:0x77e2740.height>",
- "<NSAutoresizingMaskLayoutConstraint:0x771f490 h=-&- v=-&- UINavigationTransitionView:0x834dd20.height == UILayoutContainerView:0x834e390.height>",
- "<NSAutoresizingMaskLayoutConstraint:0x771e0c0 h=-&- v=-&- UILayoutContainerView:0x834e390.height == UIViewControllerWrapperView:0x77b0260.height>",
- "<NSAutoresizingMaskLayoutConstraint:0x771cc40 h=-&- v=-&- UIViewControllerWrapperView:0x77b0260.height == UITransitionView:0x83514b0.height>"
- )
- Will attempt to recover by breaking constraint
- <NSLayoutConstraint:0x77e51d0 UIView:0x77db6a0.bottom == UIView:0x77bccd0.bottom>
- Break on objc_exception_throw to catch this in the debugger.
- The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement