UIViewController.TopLayoutGuide Propiedad

Definición

Los desarrolladores no deben usar esta propiedad en desuso. En su lugar, deben usar SafeAreaLayoutGuide.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.IUILayoutSupport TopLayoutGuide { [Foundation.Export("topLayoutGuide")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.TopLayoutGuide : UIKit.IUILayoutSupport

Valor de propiedad

La extensión superior del contenido en pantalla especificado (solo lectura).

Atributos

Comentarios

Esta propiedad en desuso contiene la mayor extensión vertical del contenido en pantalla. Usado por restricciones de diseño automático. Solo lectura.

Se aplica a