I was getting a constraints warning message in the output window when running my final solution for this chapter. I tried the one from the solution file and get the same message:
[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:0x6000001e5040 UIView:0x7fa249911bd0.width == - 16 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x6000001e5040 UIView:0x7fa249911bd0.width == - 16 (active)>
What needs changed to not have this error?