You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears the Active flag doesn't get set inside the CreateConstraint() method inside FluentLayout.
This means, if you create 2 or more competing constraints, set the one you want to active, then call UIView.AddConstraints they will all get set to Active = true and you'll get a bunch of errors about constraints not being satisfied.
You then need to set Active flags after setting UIView.AddConstraints.
Ideally, CreateConstraint() should set the active flag so we can add them in UIVew.AddConstraints and not get any issues or have the state reset.
The text was updated successfully, but these errors were encountered:
It appears the Active flag doesn't get set inside the CreateConstraint() method inside FluentLayout.
This means, if you create 2 or more competing constraints, set the one you want to active, then call UIView.AddConstraints they will all get set to Active = true and you'll get a bunch of errors about constraints not being satisfied.
You then need to set Active flags after setting UIView.AddConstraints.
Ideally, CreateConstraint() should set the active flag so we can add them in UIVew.AddConstraints and not get any issues or have the state reset.
The text was updated successfully, but these errors were encountered: