What does a constraint being greyed out mean? Are those inactive constraints? Or constraints that are applying to the view but not actually a constraint in its constraints
array?
Those are the inactive constraints. Mostly it happens when you apply constraints on another size class, that size class constraints become inactive if they are not applicable for current size classes.
The non-greyed constraints in the list of Auto Layout constraints in the size inspector in the Debug View Hierarchy are the ones that are active — being actually used by the runtime.
The greyed out constraints are the inactive ones, superseded by user explicit constraints, having a lower priority — being ignored by the runtime.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With