Compartilhar via


UIView.InsetsLayoutMarginsFromSafeArea Propriedade

Definição

Obtém ou define um valor booliano que controla se as margens são ajustadas para sempre se enquadrar na área segura. O padrão é 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

Valor da propriedade

Atributos

Aplica-se a