Freigeben über


UIView.InsetsLayoutMarginsFromSafeArea Eigenschaft

Definition

Ruft einen booleschen Wert ab, der steuert, ob Ränder so angepasst werden, dass sie immer in den sicheren Bereich fallen, oder legt diesen fest. Der Standardwert ist true.

[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 InsetsLayoutMarginsFromSafeArea { [Foundation.Export("insetsLayoutMarginsFromSafeArea")] [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("setInsetsLayoutMarginsFromSafeArea:")] [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.InsetsLayoutMarginsFromSafeArea : bool with get, set

Eigenschaftswert

Attribute

Gilt für: