UIView.SafeAreaLayoutGuide Propiedad

Definición

Obtiene la guía de diseño para colocar el contenido para que las barras de navegación y tabulación, las barras de herramientas y otro contenido no oscurezca la vista del contenido.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UILayoutGuide SafeAreaLayoutGuide { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("safeAreaLayoutGuide", ObjCRuntime.ArgumentSemantic.Strong)] get; }
member this.SafeAreaLayoutGuide : UIKit.UILayoutGuide

Valor de propiedad

Atributos

Comentarios

Introducido en iOS 11, esta propiedad y la propiedad relacionada SafeAreaInsets describen los conjuntos en los bordes de que UIView pueden ocultar el contenido del desarrollador.

Esta propiedad solo es válida después UIView de que se haya agregado a la jerarquía de vistas y se haya establecido (por ejemplo, será válida en ViewDidAppear(Boolean)).

Se aplica a