-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I recently just noticed that whenever I preview a file using IOS 15 I get this warning on each file type.
2022-06-10 09:34:49.734778-0400 App[7032:387972] [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:0x281dce530 h=-&- v=--& UINavigationBar:0x1035f8400.minY == 0 (active, names: '|':UILayoutContainerView:0x103a4ce40 )>",
"<NSAutoresizingMaskLayoutConstraint:0x281dcc0a0 h=-&- v=--& UINavigationBar:0x1035f8400.height == 44 (active)>",
"<NSLayoutConstraint:0x281dcc050 V:[UINavigationBar:0x1035f8400]-(0)-[UIFocusContainerGuide:0x2801b80f0'UINavigationControllerContentFocusContainerGuide'] (active)>",
"<NSLayoutConstraint:0x281dce120 UIFocusContainerGuide:0x2801b80f0'UINavigationControllerContentFocusContainerGuide'.bottom == UILayoutContainerView:0x103a4ce40.bottom (active)>",
"<NSLayoutConstraint:0x281dcd270 V:|-(0)-[UILayoutContainerView:0x103a4ce40] (active, names: QLPreviewControllerView:0x1035f4640, '|':QLPreviewControllerView:0x1035f4640 )>",
"<NSLayoutConstraint:0x281dcd2c0 V:[UILayoutContainerView:0x103a4ce40]-(0)-| (active, names: QLPreviewControllerView:0x1035f4640, '|':QLPreviewControllerView:0x1035f4640 )>",
"<NSLayoutConstraint:0x281dccd70 'UIView-Encapsulated-Layout-Height' QLPreviewControllerView.height == 0 (active, names: QLPreviewControllerView:0x1035f4640 )>"
)
I am not sure if IOS changed something but did some research and based on - https://stackoverflow.com/questions/62542478/constraints-issue it seems you would need to apply a constraint. Was wondering if others are experiencing this issue as well
I also found this: fcf383a. Not sure if that helps with putting us on the right track to resolve it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels