Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[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:0x6000009f0b90 h=--& v=--& EmptyDataSet_Swift.EmptyDataSetView:0x7fb5aa00e600.width == 0 (active)>",
"<NSLayoutConstraint:0x6000009f0320 UIView:0x7fb5aa077fb0.centerX == EmptyDataSet_Swift.EmptyDataSetView:0x7fb5aa00e600.centerX (active)>",
"<NSLayoutConstraint:0x6000009f0370 H:|-(0)-[UIView:0x7fb5aa077fb0] (active, names: '|':EmptyDataSet_Swift.EmptyDataSetView:0x7fb5aa00e600 )>",
"<NSLayoutConstraint:0x6000009f0640 H:|-(26)-[empty set title] (active, names: empty set title:0x7fb5aa01c200, '|':UIView:0x7fb5aa077fb0 )>",
"<NSLayoutConstraint:0x6000009f0730 H:[empty set title]-(26)-| (active, names: empty set title:0x7fb5aa01c200, '|':UIView:0x7fb5aa077fb0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x6000009f0730 H:[empty set title]-(26)-| (active, names: empty set title:0x7fb5aa01c200, '|':UIView:0x7fb5aa077fb0 )>
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.