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:0x7fb5395f4110 UIImageView:0x7fb5395f2e70.right == EaseBubbleView:0x7fb5395f1510.right>",
"<NSLayoutConstraint:0x7fb5395f43d0 H:|-(0)-[UIImageView:0x7fb5395f2e70](LTR) (Names: '|':EaseBubbleView:0x7fb5395f1510 )>",
"<NSLayoutConstraint:0x7fb5395f4f50 H:|-(0)-[UIImageView:0x7fb5395f2c50](LTR) (Names: '|':UIImageView:0x7fb5395f2e70 )>",
"<NSLayoutConstraint:0x7fb5395f4fd0 H:[UIImageView:0x7fb5395f2c50]-(10)-[UILabel:0x7fb5395f45a0](LTR)>",
"<NSLayoutConstraint:0x7fb5395f5020 UILabel:0x7fb5395f45a0.right == UIImageView:0x7fb5395f2e70.right>",
"<NSLayoutConstraint:0x7fb5395f7a70 H:[EaseBubbleView:0x7fb5395f1510(<=0)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x7fb5395f4fd0 H:[UIImageView:0x7fb5395f2c50]-(10)-[UILabel:0x7fb5395f45a0](LTR)>
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.
2016-04-26 18:13:16.868 EaseChatDemo[6635:334718] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
8 个回复
[已注销]
zhao1zhihui - iOS
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:0x7fb5395f4110 UIImageView:0x7fb5395f2e70.right == EaseBubbleView:0x7fb5395f1510.right>",
"<NSLayoutConstraint:0x7fb5395f43d0 H:|-(0)-[UIImageView:0x7fb5395f2e70](LTR) (Names: '|':EaseBubbleView:0x7fb5395f1510 )>",
"<NSLayoutConstraint:0x7fb5395f4f50 H:|-(0)-[UIImageView:0x7fb5395f2c50](LTR) (Names: '|':UIImageView:0x7fb5395f2e70 )>",
"<NSLayoutConstraint:0x7fb5395f4fd0 H:[UIImageView:0x7fb5395f2c50]-(10)-[UILabel:0x7fb5395f45a0](LTR)>",
"<NSLayoutConstraint:0x7fb5395f5020 UILabel:0x7fb5395f45a0.right == UIImageView:0x7fb5395f2e70.right>",
"<NSLayoutConstraint:0x7fb5395f7a70 H:[EaseBubbleView:0x7fb5395f1510(<=0)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x7fb5395f4fd0 H:[UIImageView:0x7fb5395f2c50]-(10)-[UILabel:0x7fb5395f45a0](LTR)>
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.
2016-04-26 18:13:16.868 EaseChatDemo[6635:334718] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
你好 ,这里面是崩溃信息 崩溃在main里面
zhao1zhihui - iOS
[已注销]
zhao1zhihui - iOS
zhao1zhihui - iOS
[已注销]
zhao1zhihui - iOS