Skip to content

Instantly share code, notes, and snippets.

@ohnishiakira
Created February 27, 2021 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohnishiakira/02fd577c70d263186212d8c6c98423ec to your computer and use it in GitHub Desktop.
Save ohnishiakira/02fd577c70d263186212d8c6c98423ec to your computer and use it in GitHub Desktop.
2021-02-27 20:05:29.073581+0900 DatePickerSample[4410:161030] [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.
(
"<_UISystemBaselineConstraint:0x600001a26d50 H:[_UIDatePickerLinkedLabel:0x7ff9e6c226d0]-(NSLayoutAnchorConstraintSpace(8))-[UILayoutGuide:0x6000000301c0''] (active)>",
"<_UISystemBaselineConstraint:0x600001a26da0 H:[UILayoutGuide:0x6000000301c0'']-(>=NSLayoutAnchorConstraintSpace(8))-[_UIDatePickerTouchOutsetButton:0x7ff9e6d371a0] (active)>",
"<NSLayoutConstraint:0x600001a1e710 UILabel:0x7ff9e6c22890.trailing <= _UIDatePickerLinkedLabel:0x7ff9e6c226d0.trailing (active)>",
"<NSLayoutConstraint:0x600001a1e5d0 H:|-(0)-[UILabel:0x7ff9e6c22890] (active, names: '|':_UIDatePickerLinkedLabel:0x7ff9e6c226d0 )>",
"<NSLayoutConstraint:0x600001a26d00 _UIDatePickerLinkedLabel:0x7ff9e6c226d0.leading == UILayoutGuide:0x6000000302a0'UIViewLayoutMarginsGuide'.leading (active)>",
"<NSLayoutConstraint:0x600001a26df0 H:[_UIDatePickerTouchOutsetButton:0x7ff9e6d371a0]-(28)-[_UIDatePickerTouchOutsetButton:0x7ff9e6d379f0] (active)>",
"<NSLayoutConstraint:0x600001a26e40 _UIDatePickerTouchOutsetButton:0x7ff9e6d379f0.trailing == UILayoutGuide:0x6000000302a0'UIViewLayoutMarginsGuide'.trailing (active)>",
"<NSLayoutConstraint:0x600001a27020 UILayoutGuide:0x6000000301c0''.width == UIImageView:0x7ff9e6d363b0.width (active)>",
"<NSLayoutConstraint:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>",
"<NSLayoutConstraint:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ce10 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.leading == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading (active)>",
"<NSLayoutConstraint:0x600001a7ceb0 'UISV-canvas-connection' H:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>",
"<NSLayoutConstraint:0x600001a26c10 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x6000000302a0'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIDatePickerCalendarHeaderView:0x7ff9e6c21100 )>",
"<NSLayoutConstraint:0x600001a26cb0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000000302a0'UIViewLayoutMarginsGuide']-(8)-|(LTR) (active, names: '|':_UIDatePickerCalendarHeaderView:0x7ff9e6c21100 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a1e710 UILabel:0x7ff9e6c22890.trailing <= _UIDatePickerLinkedLabel:0x7ff9e6c226d0.trailing (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.082569+0900 DatePickerSample[4410:161030] [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.
(
"<_UISystemBaselineConstraint:0x600001a26d50 H:[_UIDatePickerLinkedLabel:0x7ff9e6c226d0]-(NSLayoutAnchorConstraintSpace(8))-[UILayoutGuide:0x6000000301c0''] (active)>",
"<_UISystemBaselineConstraint:0x600001a26da0 H:[UILayoutGuide:0x6000000301c0'']-(>=NSLayoutAnchorConstraintSpace(8))-[_UIDatePickerTouchOutsetButton:0x7ff9e6d371a0] (active)>",
"<NSLayoutConstraint:0x600001a26d00 _UIDatePickerLinkedLabel:0x7ff9e6c226d0.leading == UILayoutGuide:0x6000000302a0'UIViewLayoutMarginsGuide'.leading (active)>",
"<NSLayoutConstraint:0x600001a26df0 H:[_UIDatePickerTouchOutsetButton:0x7ff9e6d371a0]-(28)-[_UIDatePickerTouchOutsetButton:0x7ff9e6d379f0] (active)>",
"<NSLayoutConstraint:0x600001a26e40 _UIDatePickerTouchOutsetButton:0x7ff9e6d379f0.trailing == UILayoutGuide:0x6000000302a0'UIViewLayoutMarginsGuide'.trailing (active)>",
"<NSLayoutConstraint:0x600001a27020 UILayoutGuide:0x6000000301c0''.width == UIImageView:0x7ff9e6d363b0.width (active)>",
"<NSLayoutConstraint:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>",
"<NSLayoutConstraint:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ce10 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.leading == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading (active)>",
"<NSLayoutConstraint:0x600001a7ceb0 'UISV-canvas-connection' H:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>",
"<NSLayoutConstraint:0x600001a26c10 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x6000000302a0'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIDatePickerCalendarHeaderView:0x7ff9e6c21100 )>",
"<NSLayoutConstraint:0x600001a26cb0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000000302a0'UIViewLayoutMarginsGuide']-(8)-|(LTR) (active, names: '|':_UIDatePickerCalendarHeaderView:0x7ff9e6c21100 )>"
)
Will attempt to recover by breaking constraint
<_UISystemBaselineConstraint:0x600001a26da0 H:[UILayoutGuide:0x6000000301c0'']-(>=NSLayoutAnchorConstraintSpace(8))-[_UIDatePickerTouchOutsetButton:0x7ff9e6d371a0] (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.084678+0900 DatePickerSample[4410:161030] [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.
(
"<_UISystemBaselineConstraint:0x600001a7b070 H:[UILabel:0x7ff9e6d37cf0]-(>=NSLayoutAnchorConstraintSpace(8))-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active)>",
"<NSLayoutConstraint:0x600001a0c050 H:|-(8)-[UILabel:0x7ff9e6e14eb0] (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>",
"<NSLayoutConstraint:0x600001a0c0f0 H:[UILabel:0x7ff9e6e14eb0]-(8)-| (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>",
"<NSLayoutConstraint:0x600001a007d0 UILabel:0x7ff9e6d37cf0.leading == UILayoutGuide:0x600000039420'UIViewLayoutMarginsGuide'.leading (active)>",
"<NSLayoutConstraint:0x600001a7b0c0 H:[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540]-(6)-[UISegmentedControl:0x7ff9e6e1cef0] (active)>",
"<NSLayoutConstraint:0x600001a7b110 UISegmentedControl:0x7ff9e6e1cef0.trailing == UILayoutGuide:0x600000039420'UIViewLayoutMarginsGuide'.trailing (active)>",
"<NSLayoutConstraint:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>",
"<NSLayoutConstraint:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7cf50 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.leading (active)>",
"<NSLayoutConstraint:0x600001a7ce60 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.trailing == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7ce10 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.leading == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading (active)>",
"<NSLayoutConstraint:0x600001a7ceb0 'UISV-canvas-connection' H:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>",
"<NSLayoutConstraint:0x600001a006e0 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600000039420'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00780 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x600000039420'UIViewLayoutMarginsGuide']-(8)-|(LTR) (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a0c0f0 H:[UILabel:0x7ff9e6e14eb0]-(8)-| (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.086622+0900 DatePickerSample[4410:161030] [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.
(
"<_UISystemBaselineConstraint:0x600001a7b070 H:[UILabel:0x7ff9e6d37cf0]-(>=NSLayoutAnchorConstraintSpace(8))-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active)>",
"<NSLayoutConstraint:0x600001a007d0 UILabel:0x7ff9e6d37cf0.leading == UILayoutGuide:0x600000039420'UIViewLayoutMarginsGuide'.leading (active)>",
"<NSLayoutConstraint:0x600001a7b0c0 H:[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540]-(6)-[UISegmentedControl:0x7ff9e6e1cef0] (active)>",
"<NSLayoutConstraint:0x600001a7b110 UISegmentedControl:0x7ff9e6e1cef0.trailing == UILayoutGuide:0x600000039420'UIViewLayoutMarginsGuide'.trailing (active)>",
"<NSLayoutConstraint:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>",
"<NSLayoutConstraint:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7cf50 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.leading (active)>",
"<NSLayoutConstraint:0x600001a7ce60 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.trailing == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7ce10 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.leading == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading (active)>",
"<NSLayoutConstraint:0x600001a7ceb0 'UISV-canvas-connection' H:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>",
"<NSLayoutConstraint:0x600001a006e0 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x600000039420'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00780 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x600000039420'UIViewLayoutMarginsGuide']-(8)-|(LTR) (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>"
)
Will attempt to recover by breaking constraint
<_UISystemBaselineConstraint:0x600001a7b070 H:[UILabel:0x7ff9e6d37cf0]-(>=NSLayoutAnchorConstraintSpace(8))-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.088829+0900 DatePickerSample[4410:161030] [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:0x600001a27d90 H:|-(0)-[UIStackView:0x7ff9e6e100f0] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27de0 UIStackView:0x7ff9e6e100f0.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>",
"<NSLayoutConstraint:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7cf00 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.leading (active)>",
"<NSLayoutConstraint:0x600001a7cfa0 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a07c00 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.leading == _UIDatePickerLinkedLabel:0x7ff9e6d5b780.leading (active)>",
"<NSLayoutConstraint:0x600001a07e80 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2e3c0.trailing (active)>",
"<NSLayoutConstraint:0x600001a7ce10 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.leading == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading (active)>",
"<NSLayoutConstraint:0x600001a7ceb0 'UISV-canvas-connection' H:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a1f700 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6d5b780]-(0)-[_UIOLAGapGuide:0x600000518c00'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a1f200 'UISV-distributing-edge' _UIOLAGapGuide:0x600000518c00'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6d5bd30.leading (active)>",
"<NSLayoutConstraint:0x600001a1fd40 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6d5bd30]-(0)-[_UIOLAGapGuide:0x60000051a100'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c000 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051a100'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6d5c8e0.leading (active)>",
"<NSLayoutConstraint:0x600001a7c0f0 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6d5c8e0]-(0)-[_UIOLAGapGuide:0x60000051ac00'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c140 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051ac00'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2cab0.leading (active)>",
"<NSLayoutConstraint:0x600001a7c230 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6c2cab0]-(0)-[_UIOLAGapGuide:0x60000051ae00'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c280 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051ae00'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2d060.leading (active)>",
"<NSLayoutConstraint:0x600001a7c370 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6c2d060]-(0)-[_UIOLAGapGuide:0x60000051b400'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c3c0 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051b400'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2da10.leading (active)>",
"<NSLayoutConstraint:0x600001a7c500 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6c2da10]-(0)-[_UIOLAGapGuide:0x60000051b500'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c550 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051b500'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2e3c0.leading (active)>",
"<NSLayoutConstraint:0x600001a7c050 'UISV-fill-equally' _UIOLAGapGuide:0x60000051a100'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7c190 'UISV-fill-equally' _UIOLAGapGuide:0x60000051ac00'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7c2d0 'UISV-fill-equally' _UIOLAGapGuide:0x60000051ae00'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7c410 'UISV-fill-equally' _UIOLAGapGuide:0x60000051b400'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7c5a0 'UISV-fill-equally' _UIOLAGapGuide:0x60000051b500'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>",
"<NSLayoutConstraint:0x600001a7bf70 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':UIStackView:0x7ff9e6e100f0 )>",
"<NSLayoutConstraint:0x600001a04050 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide']-(8)-|(LTR) (active, names: '|':UIStackView:0x7ff9e6e100f0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7c500 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6c2da10]-(0)-[_UIOLAGapGuide:0x60000051b500'UISV-distributing'] (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.091578+0900 DatePickerSample[4410:161030] [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:0x600001a27d90 H:|-(0)-[UIStackView:0x7ff9e6e100f0] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27de0 UIStackView:0x7ff9e6e100f0.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>",
"<NSLayoutConstraint:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7cf00 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.leading (active)>",
"<NSLayoutConstraint:0x600001a7cfa0 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a07c00 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.leading == _UIDatePickerLinkedLabel:0x7ff9e6d5b780.leading (active)>",
"<NSLayoutConstraint:0x600001a07e80 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2e3c0.trailing (active)>",
"<NSLayoutConstraint:0x600001a7ce10 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.leading == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading (active)>",
"<NSLayoutConstraint:0x600001a7ceb0 'UISV-canvas-connection' H:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a1f700 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6d5b780]-(0)-[_UIOLAGapGuide:0x600000518c00'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a1f200 'UISV-distributing-edge' _UIOLAGapGuide:0x600000518c00'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6d5bd30.leading (active)>",
"<NSLayoutConstraint:0x600001a1fd40 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6d5bd30]-(0)-[_UIOLAGapGuide:0x60000051a100'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c000 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051a100'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6d5c8e0.leading (active)>",
"<NSLayoutConstraint:0x600001a7c0f0 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6d5c8e0]-(0)-[_UIOLAGapGuide:0x60000051ac00'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c140 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051ac00'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2cab0.leading (active)>",
"<NSLayoutConstraint:0x600001a7c230 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6c2cab0]-(0)-[_UIOLAGapGuide:0x60000051ae00'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c280 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051ae00'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2d060.leading (active)>",
"<NSLayoutConstraint:0x600001a7c370 'UISV-distributing-edge' H:[_UIDatePickerLinkedLabel:0x7ff9e6c2d060]-(0)-[_UIOLAGapGuide:0x60000051b400'UISV-distributing'] (active)>",
"<NSLayoutConstraint:0x600001a7c3c0 'UISV-distributing-edge' _UIOLAGapGuide:0x60000051b400'UISV-distributing'.trailing == _UIDatePickerLinkedLabel:0x7ff9e6c2da10.leading (active)>",
"<NSLayoutConstraint:0x600001a7c050 'UISV-fill-equally' _UIOLAGapGuide:0x60000051a100'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7c190 'UISV-fill-equally' _UIOLAGapGuide:0x60000051ac00'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7c2d0 'UISV-fill-equally' _UIOLAGapGuide:0x60000051ae00'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7c410 'UISV-fill-equally' _UIOLAGapGuide:0x60000051b400'UISV-distributing'.width == _UIOLAGapGuide:0x600000518c00'UISV-distributing'.width (active)>",
"<NSLayoutConstraint:0x600001a7c5f0 'UISV-spacing' H:[_UIDatePickerLinkedLabel:0x7ff9e6c2da10]-(>=0)-[_UIDatePickerLinkedLabel:0x7ff9e6c2e3c0] (active)>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>",
"<NSLayoutConstraint:0x600001a7bf70 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':UIStackView:0x7ff9e6e100f0 )>",
"<NSLayoutConstraint:0x600001a04050 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide']-(8)-|(LTR) (active, names: '|':UIStackView:0x7ff9e6e100f0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7c5f0 'UISV-spacing' H:[_UIDatePickerLinkedLabel:0x7ff9e6c2da10]-(>=0)-[_UIDatePickerLinkedLabel:0x7ff9e6c2e3c0] (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.093204+0900 DatePickerSample[4410:161030] [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:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>",
"<NSLayoutConstraint:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ce10 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.leading == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading (active)>",
"<NSLayoutConstraint:0x600001a7ceb0 'UISV-canvas-connection' H:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7ce10 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.leading == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.093906+0900 DatePickerSample[4410:161030] [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:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>",
"<NSLayoutConstraint:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a00dc0 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.width <= _UIDatePickerCalendarView:0x7ff9e6c20390.width (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.094438+0900 DatePickerSample[4410:161030] [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:0x600001a7b430 H:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>",
"<NSLayoutConstraint:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7b480 _UIDatePickerCalendarView:0x7ff9e6c20390.trailing == UIDatePicker:0x7ff9e6d22e50.trailing (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.094884+0900 DatePickerSample[4410:161030] [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:0x600001a7da40 H:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>",
"<NSLayoutConstraint:0x600001a7def0 'UIView-Encapsulated-Layout-Width' UIView:0x7ff9e6c20a30.width == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7d7c0 UIDatePicker:0x7ff9e6d22e50.trailing == UIView:0x7ff9e6c20a30.trailing - 8 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.096405+0900 DatePickerSample[4410:161030] [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:0x600001a26e90 UIImageView:0x7ff9e6d363b0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a26ee0 UIImageView:0x7ff9e6d363b0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a042d0 V:|-(0)-[UILabel:0x7ff9e6c2e980] (active, names: '|':_UIDatePickerLinkedLabel:0x7ff9e6c2e3c0 )>",
"<NSLayoutConstraint:0x600001a04320 UILabel:0x7ff9e6c2e980.bottom == _UIDatePickerLinkedLabel:0x7ff9e6c2e3c0.bottom (active)>",
"<NSLayoutConstraint:0x600001a7a9e0 UICollectionView:0x7ff9e8034a00.height == 0.714286*UICollectionView:0x7ff9e8034a00.width + 2 (active)>",
"<NSLayoutConstraint:0x600001a27cf0 H:|-(0)-[UICollectionView:0x7ff9e8034a00] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27d40 UICollectionView:0x7ff9e8034a00.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a27e30 V:|-(14)-[UIStackView:0x7ff9e6e100f0] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27e80 V:[UIStackView:0x7ff9e6e100f0]-(0)-[UICollectionView:0x7ff9e8034a00] (active)>",
"<NSLayoutConstraint:0x600001a27ed0 UICollectionView:0x7ff9e8034a00.bottom == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.bottom - 4 (active)>",
"<NSLayoutConstraint:0x600001a0c000 V:|-(5)-[UILabel:0x7ff9e6e14eb0] (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>",
"<NSLayoutConstraint:0x600001a0c0a0 V:[UILabel:0x7ff9e6e14eb0]-(5)-| (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7c870 'UISV-alignment' _UIDatePickerLinkedLabel:0x7ff9e6d5b780.bottom == _UIDatePickerLinkedLabel:0x7ff9e6c2e3c0.bottom (active)>",
"<NSLayoutConstraint:0x600001a7ca50 'UISV-alignment' _UIDatePickerLinkedLabel:0x7ff9e6d5b780.top == _UIDatePickerLinkedLabel:0x7ff9e6c2e3c0.top (active)>",
"<NSLayoutConstraint:0x600001a7cf00 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.leading (active)>",
"<NSLayoutConstraint:0x600001a7cfa0 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a7c640 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.top == _UIDatePickerLinkedLabel:0x7ff9e6d5b780.top (active)>",
"<NSLayoutConstraint:0x600001a7c690 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.bottom == _UIDatePickerLinkedLabel:0x7ff9e6d5b780.bottom (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a04550 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':UIStackView:0x7ff9e6e100f0 )>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a7bf20 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'] (active, names: '|':UIStackView:0x7ff9e6e100f0 )>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a04320 UILabel:0x7ff9e6c2e980.bottom == _UIDatePickerLinkedLabel:0x7ff9e6c2e3c0.bottom (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.098708+0900 DatePickerSample[4410:161030] [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:0x600001a26e90 UIImageView:0x7ff9e6d363b0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a26ee0 UIImageView:0x7ff9e6d363b0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a7a9e0 UICollectionView:0x7ff9e8034a00.height == 0.714286*UICollectionView:0x7ff9e8034a00.width + 2 (active)>",
"<NSLayoutConstraint:0x600001a27cf0 H:|-(0)-[UICollectionView:0x7ff9e8034a00] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27d40 UICollectionView:0x7ff9e8034a00.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a27e30 V:|-(14)-[UIStackView:0x7ff9e6e100f0] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27e80 V:[UIStackView:0x7ff9e6e100f0]-(0)-[UICollectionView:0x7ff9e8034a00] (active)>",
"<NSLayoutConstraint:0x600001a27ed0 UICollectionView:0x7ff9e8034a00.bottom == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.bottom - 4 (active)>",
"<NSLayoutConstraint:0x600001a0c000 V:|-(5)-[UILabel:0x7ff9e6e14eb0] (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>",
"<NSLayoutConstraint:0x600001a0c0a0 V:[UILabel:0x7ff9e6e14eb0]-(5)-| (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7cf00 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.leading (active)>",
"<NSLayoutConstraint:0x600001a7cfa0 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a7c640 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.top == _UIDatePickerLinkedLabel:0x7ff9e6d5b780.top (active)>",
"<NSLayoutConstraint:0x600001a7c690 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.bottom == _UIDatePickerLinkedLabel:0x7ff9e6d5b780.bottom (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a04550 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':UIStackView:0x7ff9e6e100f0 )>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a7bf20 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'] (active, names: '|':UIStackView:0x7ff9e6e100f0 )>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7c690 'UISV-canvas-connection' UILayoutGuide:0x60000005a060'UIViewLayoutMarginsGuide'.bottom == _UIDatePickerLinkedLabel:0x7ff9e6d5b780.bottom (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.100623+0900 DatePickerSample[4410:161030] [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:0x600001a26e90 UIImageView:0x7ff9e6d363b0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a26ee0 UIImageView:0x7ff9e6d363b0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a7a9e0 UICollectionView:0x7ff9e8034a00.height == 0.714286*UICollectionView:0x7ff9e8034a00.width + 2 (active)>",
"<NSLayoutConstraint:0x600001a27cf0 H:|-(0)-[UICollectionView:0x7ff9e8034a00] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27d40 UICollectionView:0x7ff9e8034a00.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a27e30 V:|-(14)-[UIStackView:0x7ff9e6e100f0] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27e80 V:[UIStackView:0x7ff9e6e100f0]-(0)-[UICollectionView:0x7ff9e8034a00] (active)>",
"<NSLayoutConstraint:0x600001a27ed0 UICollectionView:0x7ff9e8034a00.bottom == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.bottom - 4 (active)>",
"<NSLayoutConstraint:0x600001a0c000 V:|-(5)-[UILabel:0x7ff9e6e14eb0] (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>",
"<NSLayoutConstraint:0x600001a0c0a0 V:[UILabel:0x7ff9e6e14eb0]-(5)-| (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7cf00 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.leading (active)>",
"<NSLayoutConstraint:0x600001a7cfa0 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a0c0a0 V:[UILabel:0x7ff9e6e14eb0]-(5)-| (active, names: '|':_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.102607+0900 DatePickerSample[4410:161030] [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:0x600001a26e90 UIImageView:0x7ff9e6d363b0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a26ee0 UIImageView:0x7ff9e6d363b0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a7a9e0 UICollectionView:0x7ff9e8034a00.height == 0.714286*UICollectionView:0x7ff9e8034a00.width + 2 (active)>",
"<NSLayoutConstraint:0x600001a27cf0 H:|-(0)-[UICollectionView:0x7ff9e8034a00] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27d40 UICollectionView:0x7ff9e8034a00.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a27e30 V:|-(14)-[UIStackView:0x7ff9e6e100f0] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27e80 V:[UIStackView:0x7ff9e6e100f0]-(0)-[UICollectionView:0x7ff9e8034a00] (active)>",
"<NSLayoutConstraint:0x600001a27ed0 UICollectionView:0x7ff9e8034a00.bottom == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.bottom - 4 (active)>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7cf00 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.leading == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.leading (active)>",
"<NSLayoutConstraint:0x600001a7cfa0 'UISV-alignment' _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.trailing == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.trailing (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7a9e0 UICollectionView:0x7ff9e8034a00.height == 0.714286*UICollectionView:0x7ff9e8034a00.width + 2 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.104059+0900 DatePickerSample[4410:161030] [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:0x600001a26e90 UIImageView:0x7ff9e6d363b0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a26ee0 UIImageView:0x7ff9e6d363b0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a27e30 V:|-(14)-[UIStackView:0x7ff9e6e100f0] (active, names: '|':_UIDatePickerCalendarDateView:0x7ff9e6e0df60 )>",
"<NSLayoutConstraint:0x600001a27e80 V:[UIStackView:0x7ff9e6e100f0]-(0)-[UICollectionView:0x7ff9e8034a00] (active)>",
"<NSLayoutConstraint:0x600001a27ed0 UICollectionView:0x7ff9e8034a00.bottom == _UIDatePickerCalendarDateView:0x7ff9e6e0df60.bottom - 4 (active)>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a27e80 V:[UIStackView:0x7ff9e6e100f0]-(0)-[UICollectionView:0x7ff9e8034a00] (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.105194+0900 DatePickerSample[4410:161030] [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:0x600001a26e90 UIImageView:0x7ff9e6d363b0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a26ee0 UIImageView:0x7ff9e6d363b0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a26e90 UIImageView:0x7ff9e6d363b0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.106406+0900 DatePickerSample[4410:161030] [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:0x600001a26b20 _UIDatePickerTouchOutsetButton:0x7ff9e6d379f0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a26b70 V:|-(>=0)-[_UIDatePickerTouchOutsetButton:0x7ff9e6d379f0] (active, names: '|':_UIDatePickerCalendarHeaderView:0x7ff9e6c21100 )>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a26b20 _UIDatePickerTouchOutsetButton:0x7ff9e6d379f0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.107595+0900 DatePickerSample[4410:161030] [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:0x600001a1e620 V:|-(0)-[UILabel:0x7ff9e6c22890] (active, names: '|':_UIDatePickerLinkedLabel:0x7ff9e6c226d0 )>",
"<NSLayoutConstraint:0x600001a1e670 UILabel:0x7ff9e6c22890.bottom == _UIDatePickerLinkedLabel:0x7ff9e6c226d0.bottom (active)>",
"<NSLayoutConstraint:0x600001a269e0 _UIDatePickerLinkedLabel:0x7ff9e6c226d0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a26a30 _UIDatePickerLinkedLabel:0x7ff9e6c226d0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a1e670 UILabel:0x7ff9e6c22890.bottom == _UIDatePickerLinkedLabel:0x7ff9e6c226d0.bottom (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.108693+0900 DatePickerSample[4410:161030] [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:0x600001a269e0 _UIDatePickerLinkedLabel:0x7ff9e6c226d0.centerY == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.centerY (active)>",
"<NSLayoutConstraint:0x600001a26a30 _UIDatePickerLinkedLabel:0x7ff9e6c226d0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a26a30 _UIDatePickerLinkedLabel:0x7ff9e6c226d0.top >= _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.109728+0900 DatePickerSample[4410:161030] [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:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00460 V:|-(>=0)-[_UIDatePickerCalendarTimeLabel:0x7ff9e6e14540] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a00410 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.110804+0900 DatePickerSample[4410:161030] [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:0x600001a00550 UILabel:0x7ff9e6d37cf0.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a005a0 V:|-(>=0)-[UILabel:0x7ff9e6d37cf0] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a00550 UILabel:0x7ff9e6d37cf0.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.112077+0900 DatePickerSample[4410:161030] [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:0x600001a004b0 UISegmentedControl:0x7ff9e6e1cef0.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>",
"<NSLayoutConstraint:0x600001a00500 V:|-(>=0)-[UISegmentedControl:0x7ff9e6e1cef0] (active, names: '|':_UIDatePickerCalendarTimeView:0x7ff9e6e13c50 )>",
"<NSLayoutConstraint:0x600001a005f0 _UIDatePickerCalendarTimeLabel:0x7ff9e6e14540.height == UISegmentedControl:0x7ff9e6e1cef0.height (active)>",
"<NSLayoutConstraint:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a004b0 UISegmentedControl:0x7ff9e6e1cef0.centerY == _UIDatePickerCalendarTimeView:0x7ff9e6e13c50.centerY - 1 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.113074+0900 DatePickerSample[4410:161030] [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:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7ccd0 'UISV-canvas-connection' _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == _UIDatePickerCalendarHeaderView:0x7ff9e6c21100.top (active)>",
"<NSLayoutConstraint:0x600001a7cd20 'UISV-canvas-connection' V:[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50]-(0)-| (active, names: '|':_UIDatePickerCalendarContentStackView:0x7ff9e6c20770 )>",
"<NSLayoutConstraint:0x600001a7cd70 'UISV-spacing' V:[_UIDatePickerCalendarHeaderView:0x7ff9e6c21100]-(0)-[_UIDatePickerCalendarDateView:0x7ff9e6e0df60] (active)>",
"<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7cdc0 'UISV-spacing' V:[_UIDatePickerCalendarDateView:0x7ff9e6e0df60]-(0)-[_UIDatePickerCalendarTimeView:0x7ff9e6e13c50] (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.113747+0900 DatePickerSample[4410:161030] [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:0x600001a00d20 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.top == UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a00be0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>",
"<NSLayoutConstraint:0x600001a00b40 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'] (active, names: '|':_UIDatePickerCalendarView:0x7ff9e6c20390 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a00d70 _UIDatePickerCalendarContentStackView:0x7ff9e6c20770.bottom <= UILayoutGuide:0x600000039500'UIViewLayoutMarginsGuide'.bottom (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.114360+0900 DatePickerSample[4410:161030] [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:0x600001a7b4d0 V:|-(0)-[_UIDatePickerCalendarView:0x7ff9e6c20390] (active, names: '|':UIDatePicker:0x7ff9e6d22e50 )>",
"<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>",
"<NSLayoutConstraint:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7b520 _UIDatePickerCalendarView:0x7ff9e6c20390.bottom == UIDatePicker:0x7ff9e6d22e50.bottom (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.114734+0900 DatePickerSample[4410:161030] [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:0x600001a7d770 V:|-(8)-[UIDatePicker:0x7ff9e6d22e50] (active, names: '|':UIView:0x7ff9e6c20a30 )>",
"<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>",
"<NSLayoutConstraint:0x600001a7df40 'UIView-Encapsulated-Layout-Height' UIView:0x7ff9e6c20a30.height == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7da90 UIDatePicker:0x7ff9e6d22e50.bottom == UIView:0x7ff9e6c20a30.bottom - 8 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.120523+0900 DatePickerSample[4410:161030] [DatePicker] UIDatePicker 0x7ff9e6c20390 is being laid out below its minimum width of 280. This may not look like expected, especially with larger than normal font sizes.
2021-02-27 20:05:29.124510+0900 DatePickerSample[4410:161030] [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:0x600001a71450 h=-&- v=-&- UICollectionView:0x7ff9e7082c00.minY == 0 (active, names: '|':_UIDatePickerCalendarTimeWheel:0x7ff9e6c62400 )>",
"<NSAutoresizingMaskLayoutConstraint:0x600001a714a0 h=-&- v=-&- V:[UICollectionView:0x7ff9e7082c00]-(0)-| (active, names: '|':_UIDatePickerCalendarTimeWheel:0x7ff9e6c62400 )>",
"<NSAutoresizingMaskLayoutConstraint:0x600001a715e0 h=--& v=--& _UIDatePickerCalendarTimeWheel:0x7ff9e6c62400.height == 11 (active)>",
"<NSLayoutConstraint:0x600001a71220 'UIView-bottom-readableContentGuide-constraint' UILayoutGuide:0x60000003a760'UIViewLayoutMarginsGuide'.bottom == UILayoutGuide:0x60000003a5a0'UIViewReadableContentGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a710e0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x60000003a760'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':UICollectionView:0x7ff9e7082c00 )>",
"<NSLayoutConstraint:0x600001a71180 'UIView-top-readableContentGuide-constraint' UILayoutGuide:0x60000003a5a0'UIViewReadableContentGuide'.top == UILayoutGuide:0x60000003a760'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a70f50 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x60000003a760'UIViewLayoutMarginsGuide'] (active, names: '|':UICollectionView:0x7ff9e7082c00 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a71220 'UIView-bottom-readableContentGuide-constraint' UILayoutGuide:0x60000003a760'UIViewLayoutMarginsGuide'.bottom == UILayoutGuide:0x60000003a5a0'UIViewReadableContentGuide'.bottom (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.135978+0900 DatePickerSample[4410:161030] [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:0x600001a7f480 h=-&- v=-&- UICollectionView:0x7ff9e707b400.minY == 0 (active, names: '|':_UIDatePickerCalendarTimeWheel:0x7ff9e6c62a70 )>",
"<NSAutoresizingMaskLayoutConstraint:0x600001a7f430 h=-&- v=-&- V:[UICollectionView:0x7ff9e707b400]-(0)-| (active, names: '|':_UIDatePickerCalendarTimeWheel:0x7ff9e6c62a70 )>",
"<NSAutoresizingMaskLayoutConstraint:0x600001a7f610 h=--& v=--& _UIDatePickerCalendarTimeWheel:0x7ff9e6c62a70.height == 11 (active)>",
"<NSLayoutConstraint:0x600001a7f390 'UIView-bottom-readableContentGuide-constraint' UILayoutGuide:0x60000005a5a0'UIViewLayoutMarginsGuide'.bottom == UILayoutGuide:0x60000005a4c0'UIViewReadableContentGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600001a7f0c0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x60000005a5a0'UIViewLayoutMarginsGuide']-(8)-| (active, names: '|':UICollectionView:0x7ff9e707b400 )>",
"<NSLayoutConstraint:0x600001a7f160 'UIView-top-readableContentGuide-constraint' UILayoutGuide:0x60000005a4c0'UIViewReadableContentGuide'.top == UILayoutGuide:0x60000005a5a0'UIViewLayoutMarginsGuide'.top (active)>",
"<NSLayoutConstraint:0x600001a7f110 'UIView-topMargin-guide-constraint' V:|-(8)-[UILayoutGuide:0x60000005a5a0'UIViewLayoutMarginsGuide'] (active, names: '|':UICollectionView:0x7ff9e707b400 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a7f390 'UIView-bottom-readableContentGuide-constraint' UILayoutGuide:0x60000005a5a0'UIViewLayoutMarginsGuide'.bottom == UILayoutGuide:0x60000005a4c0'UIViewReadableContentGuide'.bottom (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2021-02-27 20:05:29.268292+0900 DatePickerSample[4410:161030] [DatePicker] UIDatePicker 0x7ff9e6c20390 is being laid out below its minimum width of 280. This may not look like expected, especially with larger than normal font sizes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment