Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autolayout warning when showing crop ratio options #479

Closed
sabiland opened this issue Mar 6, 2021 · 1 comment
Closed

Autolayout warning when showing crop ratio options #479

sabiland opened this issue Mar 6, 2021 · 1 comment
Assignees
Labels

Comments

@sabiland
Copy link

sabiland commented Mar 6, 2021

When you show ratio crop action sheet, autolayout warning happens:

2021-03-06 10:19:33.614036+0100 Textures[88493:2683734] [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:0x60000199d720 UIView:0x7fad5e450730.width == - 16   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000199d720 UIView:0x7fad5e450730.width == - 16   (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.
@TimOliver
Copy link
Owner

Thanks for letting me know! I just looked into it and apparently it's a system bug. It's already been reported to Apple.

There's nothing I can do here, so I'm closing this issue off. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants