|
楼主 |
发表于 2018-10-12 12:06:13
|
显示全部楼层
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x604000480910 H:[_UIModernBarButton:0x7fa02d757990]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x7fa02d757200 )>
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.
2018-10-12 12:04:37.087528+0800 Vhome-Depvelop[3752:94345] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x6040004837a0 h=-&- v=-&- _UIToolbarContentView:0x7fa02d640980.width == UIToolbar:0x7fa02d640310.width (active)>",
"<NSLayoutConstraint:0x600000291df0 H:|-(8)-[_UIButtonBarStackView:0x7fa02d642820] (active, names: '|':_UIToolbarContentView:0x7fa02d640980 )>",
"<NSLayoutConstraint:0x600000291e40 _UIButtonBarStackView:0x7fa02d642820.trailing == _UIToolbarContentView:0x7fa02d640980.trailing (active)>",
"<NSLayoutConstraint:0x604000480e10 H:|-(>=5)-[_UIModernBarButton:0x7fa02d759440] (active, names: '|':_UIButtonBarButton:0x7fa02d757450 )>",
"<NSLayoutConstraint:0x604000480e60 H:[_UIModernBarButton:0x7fa02d759440]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fa02d757450 )>",
"<NSLayoutConstraint:0x604000481cc0 H:|-(8)-[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210'] (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
"<NSLayoutConstraint:0x604000481d10 H:[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210']-(12)-| (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
"<NSLayoutConstraint:0x6040004820d0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7fa02d757200.leading (active)>",
"<NSLayoutConstraint:0x604000482ad0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fa02d759960.trailing (active)>",
"<NSLayoutConstraint:0x604000482b20 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757200]-(0)-[UIView:0x7fa02d757ef0] (active)>",
"<NSLayoutConstraint:0x604000482b70 'UISV-spacing' H:[UIView:0x7fa02d757ef0]-(0)-[_UIButtonBarButton:0x7fa02d757450] (active)>",
"<NSLayoutConstraint:0x604000482bc0 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757450]-(0)-[UIView:0x7fa02d759780] (active)>",
"<NSLayoutConstraint:0x604000482c10 'UISV-spacing' H:[UIView:0x7fa02d759780]-(0)-[_UIButtonBarButton:0x7fa02d759960] (active)>",
"<NSLayoutConstraint:0x604000483890 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fa02d640310.width == 0 (active)>",
"<NSLayoutConstraint:0x6000002911c0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>",
"<NSLayoutConstraint:0x600000291620 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x604000480e60 H:[_UIModernBarButton:0x7fa02d759440]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fa02d757450 )>
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.
2018-10-12 12:04:37.089168+0800 Vhome-Depvelop[3752:94345] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x6040004837a0 h=-&- v=-&- _UIToolbarContentView:0x7fa02d640980.width == UIToolbar:0x7fa02d640310.width (active)>",
"<NSLayoutConstraint:0x600000291df0 H:|-(8)-[_UIButtonBarStackView:0x7fa02d642820] (active, names: '|':_UIToolbarContentView:0x7fa02d640980 )>",
"<NSLayoutConstraint:0x600000291e40 _UIButtonBarStackView:0x7fa02d642820.trailing == _UIToolbarContentView:0x7fa02d640980.trailing (active)>",
"<NSLayoutConstraint:0x604000481cc0 H:|-(8)-[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210'] (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
"<NSLayoutConstraint:0x604000481d10 H:[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210']-(12)-| (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
"<NSLayoutConstraint:0x6040004820d0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7fa02d757200.leading (active)>",
"<NSLayoutConstraint:0x604000482ad0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fa02d759960.trailing (active)>",
"<NSLayoutConstraint:0x604000482b20 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757200]-(0)-[UIView:0x7fa02d757ef0] (active)>",
"<NSLayoutConstraint:0x604000482b70 'UISV-spacing' H:[UIView:0x7fa02d757ef0]-(0)-[_UIButtonBarButton:0x7fa02d757450] (active)>",
"<NSLayoutConstraint:0x604000482bc0 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757450]-(0)-[UIView:0x7fa02d759780] (active)>",
"<NSLayoutConstraint:0x604000482c10 'UISV-spacing' H:[UIView:0x7fa02d759780]-(0)-[_UIButtonBarButton:0x7fa02d759960] (active)>",
"<NSLayoutConstraint:0x604000483890 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fa02d640310.width == 0 (active)>",
"<NSLayoutConstraint:0x6000002911c0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>",
"<NSLayoutConstraint:0x600000291620 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x604000481d10 H:[_UIModernBarButton:0x7fa02d759f20'完成']-(12)-| (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>
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.
2018-10-12 12:04:37.090467+0800 Vhome-Depvelop[3752:94345] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x6040004837a0 h=-&- v=-&- _UIToolbarContentView:0x7fa02d640980.width == UIToolbar:0x7fa02d640310.width (active)>",
"<NSLayoutConstraint:0x600000291df0 H:|-(8)-[_UIButtonBarStackView:0x7fa02d642820] (active, names: '|':_UIToolbarContentView:0x7fa02d640980 )>",
"<NSLayoutConstraint:0x600000291e40 _UIButtonBarStackView:0x7fa02d642820.trailing == _UIToolbarContentView:0x7fa02d640980.trailing (active)>",
"<NSLayoutConstraint:0x604000483890 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fa02d640310.width == 0 (active)>"
)
|
|