You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although the application runs well with the existing code, XCode generates the following logs during runtime indicating auto layout constraints conflict. Please let me know if you have any suggestions on this.
2021-06-11 14:50:58.387759+0530 CollectionView-DynamicSize[7439:284696] [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:0x60000244ec60 UIView:0x7fc998515610.width == 414 (active)>",
"<NSLayoutConstraint:0x60000244efd0 H:[UIView:0x7fc998515610]-(0)-| (active, names: '|':UIView:0x7fc99850d670 )>",
"<NSLayoutConstraint:0x60000244f0c0 H:|-(0)-[UIView:0x7fc998515610] (active, names: '|':UIView:0x7fc99850d670 )>",
"<NSLayoutConstraint:0x60000244f2a0 'UIIBSystemGenerated' CollectionView_DynamicSize.DynamicCell:0x7fc9985153b0.leading == UIView:0x7fc99850d670.leading (active)>",
"<NSLayoutConstraint:0x60000244f2f0 'UIIBSystemGenerated' H:[UIView:0x7fc99850d670]-(0)-| (active, names: '|':CollectionView_DynamicSize.DynamicCell:0x7fc9985153b0 )>",
"<NSLayoutConstraint:0x6000024785a0 'UIView-Encapsulated-Layout-Width' CollectionView_DynamicSize.DynamicCell:0x7fc9985153b0.width == 50 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000244ec60 UIView:0x7fc998515610.width == 414 (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.
The text was updated successfully, but these errors were encountered:
Although the application runs well with the existing code, XCode generates the following logs during runtime indicating auto layout constraints conflict. Please let me know if you have any suggestions on this.
The text was updated successfully, but these errors were encountered: