SnapKit / Masonry

Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Young1006 opened this issue Β· comments

commented

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 ?