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

When the parent view does not add a constraint or set a frame, the child view sets a constraint with a warning. #606

Open
2 tasks
Young1006 opened this issue May 22, 2023 · 0 comments

Comments

@Young1006
Copy link

Young1006 commented May 22, 2023

New Issue Checklist

🚫 If this template is not filled out your issue will be closed with no comment. 🚫

  • I have looked at the Documentation
  • I have filled out this issue template.

Issue Info

Info Value
Platform e.g. ios
Platform Version e.g. 16.4
Masonry Version e.g. 1.1.0
Integration Method e.g. carthage/cocoapods/manually

Issue Description

截屏2023-05-22 15 36 35 截屏2023-05-22 15 36 12

When the parent view does not add a constraint or set a frame, the child view sets a constraint with a warning. I tried to adjust the constraint priority to remove the warning, but I am not sure if this is a good solution. Who can help me ?

@Young1006 Young1006 changed the title 当父视图没有添加约束或者设置frame时,子视图设置约束会有警告 When the parent view does not add a constraint or set a frame, the child view sets a constraint with a warning. May 22, 2023
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

1 participant