UIView.NeedsUpdateConstraints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that the Auto Layout constraints of the UIView need updating.
[Foundation.Export("needsUpdateConstraints")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool NeedsUpdateConstraints ();
abstract member NeedsUpdateConstraints : unit -> bool
override this.NeedsUpdateConstraints : unit -> bool
Returns
If this method returns true
, the Auto Layout system will call UpdateConstraints() during its layout pass.
- Attributes
Remarks
This method is checked by the Auto Layout system to determine if the Constraints for this UIView need updating. If this method returns true
, the method UpdateConstraints() will be called and should perform the updates.