Freigeben über


UIView.AddLayoutGuide(UILayoutGuide) Methode

Definition

Fügt den angegebenen guidehinzu, der das Autolayout-Steuerelement ermöglicht, ohne Dummyansichten zu erstellen.

[Foundation.Export("addLayoutGuide:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddLayoutGuide (UIKit.UILayoutGuide guide);
abstract member AddLayoutGuide : UIKit.UILayoutGuide -> unit
override this.AddLayoutGuide : UIKit.UILayoutGuide -> unit

Parameter

guide
UILayoutGuide

Das hinzuzufügende UILayoutGuide.

Attribute

Gilt für: