共用方式為


UIViewController.ViewRespectsSystemMinimumLayoutMargins 屬性

定義

取得或設定布林值,控制檢視控制器的檢視是否遵守最小版面配置邊界。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ViewRespectsSystemMinimumLayoutMargins { [Foundation.Export("viewRespectsSystemMinimumLayoutMargins")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setViewRespectsSystemMinimumLayoutMargins:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ViewRespectsSystemMinimumLayoutMargins : bool with get, set

屬性值

屬性

適用於