Share via


UIView.AddLayoutGuide(UILayoutGuide) 方法

定義

加入指定的 guide ,允許自動設定控制項而不建立虛擬檢視。

[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

參數

guide
UILayoutGuide

要加入的 UILayoutGuide

屬性

適用於