环境:iPhone SE , iOS 10.2 ,
[LayoutConstraints] 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:0x17428b130 UITableViewCellContentView:0x137ef04a0.width == 320>",
"<NSLayoutConstraint:0x17028f2d0 UITableViewCellContentView:0x137ef04a0.width == 0>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x17428b130 UITableViewCellContentView:0x137ef04a0.width == 320>
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.
环境:iPhone SE , iOS 10.2 , [LayoutConstraints] 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:0x17428b130 UITableViewCellContentView:0x137ef04a0.width == 320>", "<NSLayoutConstraint:0x17028f2d0 UITableViewCellContentView:0x137ef04a0.width == 0>" )
Will attempt to recover by breaking constraint <NSLayoutConstraint:0x17428b130 UITableViewCellContentView:0x137ef04a0.width == 320>
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.
有遇到这种问题的吗?