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

Unable to simultaneously satisfy constraints. #557

Open
wanghe826 opened this issue Aug 2, 2022 · 1 comment
Open

Unable to simultaneously satisfy constraints. #557

wanghe826 opened this issue Aug 2, 2022 · 1 comment

Comments

@wanghe826
Copy link

Description

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)

Expected behavior

No constraints errors.

Actual behavior

截屏2022-08-02 11 54 45

Steps to reproduce

Code example that reproduces the issue
截屏2022-08-02 12 01 23

How do you display panel(s)?

  • Present modally

How many panels do you displays?

  • 1

Environment

MacOS 12.3.1
iPhone 8 Plus

Library version
2.5.3

Installation method

  • CocoaPods

iOS version(s)
14.8

Xcode version
13.2.1

@VisualDeceit
Copy link

In my case adding fpc.invalidateLayout() before presenting solved this problem.

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

No branches or pull requests

2 participants