-
Notifications
You must be signed in to change notification settings - Fork 937
Description
Hello, I have a page that has textbox.
when i try to edit textbox, app craashing with below error.
can you help me please?
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:0x604000281220 h=-&- v=-&- _UIToolbarContentView:0x7f857b74a620.width == UIToolbar:0x7f857b5474a0.width (active)>",
"<NSLayoutConstraint:0x6000000963f0 H:|-(0)-[_UIButtonBarStackView:0x7f857b74bbf0] (active, names: '|':_UIToolbarContentView:0x7f857b74a620 )>",
"<NSLayoutConstraint:0x6000000966c0 _UIButtonBarStackView:0x7f857b74bbf0.trailing == _UIToolbarContentView:0x7f857b74a620.trailing + 8 (active)>",
"<NSLayoutConstraint:0x600000280550 H:|-(0)-[_UIModernBarButton:0x7f857b603a50] (active, names: '|':_UIButtonBarButton:0x7f857b762b20 )>",
"<NSLayoutConstraint:0x6000002805a0 H:[_UIModernBarButton:0x7f857b603a50]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x7f857b762b20 )>",
"<NSLayoutConstraint:0x600000280e10 H:|-(>=5)-[_UIModernBarButton:0x7f857b763f40] (active, names: '|':_UIButtonBarButton:0x7f857b7638d0 )>",
"<NSLayoutConstraint:0x600000280e60 H:[_UIModernBarButton:0x7f857b763f40]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7f857b7638d0 )>",
"<NSLayoutConstraint:0x60400008ad70 H:|-(8)-[_UIModernBarButton:0x7f857b56cea0'Done'] (active, names: '|':_UIButtonBarButton:0x7f857b764980 )>",
"<NSLayoutConstraint:0x604000280b90 H:[_UIModernBarButton:0x7f857b56cea0'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x7f857b764980 )>",
"<NSLayoutConstraint:0x604000280f50 'UISV-canvas-connection' UILayoutGuide:0x6040003af340'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7f857b762b20.leading (active)>",
"<NSLayoutConstraint:0x604000281860 'UISV-canvas-connection' UILayoutGuide:0x6040003af340'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7f857b764980.trailing (active)>",
"<NSLayoutConstraint:0x604000281720 'UISV-spacing' H:[_UIButtonBarButton:0x7f857b762b20]-(0)-[UIView:0x7f857b7636e0] (active)>",
"<NSLayoutConstraint:0x6040002819a0 'UISV-spacing' H:[UIView:0x7f857b7636e0]-(0)-[_UIButtonBarButton:0x7f857b7638d0] (active)>",
"<NSLayoutConstraint:0x604000281a40 'UISV-spacing' H:[_UIButtonBarButton:0x7f857b7638d0]-(0)-[UIView:0x7f857b764790] (active)>",
"<NSLayoutConstraint:0x604000281ae0 'UISV-spacing' H:[UIView:0x7f857b764790]-(0)-[_UIButtonBarButton:0x7f857b764980] (active)>",
"<NSLayoutConstraint:0x604000281ef0 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7f857b5474a0.width == 0 (active)>",
"<NSLayoutConstraint:0x604000094e60 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x6040003af340'UIViewLayoutMarginsGuide' (active, names: '|':_UIButtonBarStackView:0x7f857b74bbf0 )>",
"<NSLayoutConstraint:0x604000096300 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6040003af340'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7f857b74bbf0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x6000002805a0 H:[_UIModernBarButton:0x7f857b603a50]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x7f857b762b20 )>
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.
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:0x604000281220 h=-&- v=-&- _UIToolbarContentView:0x7f857b74a620.width == UIToolbar:0x7f857b5474a0.width (active)>",
"<NSLayoutConstraint:0x6000000963f0 H:|-(0)-[_UIButtonBarStackView:0x7f857b74bbf0] (active, names: '|':_UIToolbarContentView:0x7f857b74a620 )>",
"<NSLayoutConstraint:0x6000000966c0 _UIButtonBarStackView:0x7f857b74bbf0.trailing == _UIToolbarContentView:0x7f857b74a620.trailing + 8 (active)>",
"<NSLayoutConstraint:0x600000280e10 H:|-(>=5)-[_UIModernBarButton:0x7f857b763f40] (active, names: '|':_UIButtonBarButton:0x7f857b7638d0 )>",
"<NSLayoutConstraint:0x600000280e60 H:[_UIModernBarButton:0x7f857b763f40]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7f857b7638d0 )>",
"<NSLayoutConstraint:0x60400008ad70 H:|-(8)-[_UIModernBarButton:0x7f857b56cea0'Done'] (active, names: '|':_UIButtonBarButton:0x7f857b764980 )>",
"<NSLayoutConstraint:0x604000280b90 H:[_UIModernBarButton:0x7f857b56cea0'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x7f857b764980 )>",
"<NSLayoutConstraint:0x604000280f50 'UISV-canvas-connection' UILayoutGuide:0x6040003af340'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7f857b762b20.leading (active)>",
"<NSLayoutConstraint:0x604000281860 'UISV-canvas-connection' UILayoutGuide:0x6040003af340'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7f857b764980.trailing (active)>",
"<NSLayoutConstraint:0x604000281720 'UISV-spacing' H:[_UIButtonBarButton:0x7f857b762b20]-(0)-[UIView:0x7f857b7636e0] (active)>",
"<NSLayoutConstraint:0x6040002819a0 'UISV-spacing' H:[UIView:0x7f857b7636e0]-(0)-[_UIButtonBarButton:0x7f857b7638d0] (active)>",
"<NSLayoutConstraint:0x604000281a40 'UISV-spacing' H:[_UIButtonBarButton:0x7f857b7638d0]-(0)-[UIView:0x7f857b764790] (active)>",
"<NSLayoutConstraint:0x604000281ae0 'UISV-spacing' H:[UIView:0x7f857b764790]-(0)-[_UIButtonBarButton:0x7f857b764980] (active)>",
"<NSLayoutConstraint:0x604000281ef0 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7f857b5474a0.width == 0 (active)>",
"<NSLayoutConstraint:0x604000094e60 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x6040003af340'UIViewLayoutMarginsGuide' (active, names: '|':_UIButtonBarStackView:0x7f857b74bbf0 )>",
"<NSLayoutConstraint:0x604000096300 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6040003af340'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7f857b74bbf0 )>"
)