Compartir a través de


UIViewController.AutomaticallyAdjustsScrollViewInsets Propiedad

Definición

Los desarrolladores no deben usar esta propiedad en desuso. Los desarrolladores deben usar "UIScrollView.ContentInsetAdjustmentBehavior" en su lugar.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIScrollView.ContentInsetAdjustmentBehavior' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIScrollView.ContentInsetAdjustmentBehavior' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AutomaticallyAdjustsScrollViewInsets { [Foundation.Export("automaticallyAdjustsScrollViewInsets")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIScrollView.ContentInsetAdjustmentBehavior' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIScrollView.ContentInsetAdjustmentBehavior' instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setAutomaticallyAdjustsScrollViewInsets:")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIScrollView.ContentInsetAdjustmentBehavior' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIScrollView.ContentInsetAdjustmentBehavior' instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.AutomaticallyAdjustsScrollViewInsets : bool with get, set

Valor de propiedad

Si el controlador de vista especificado debe realizar ajustes en sus conjuntos de vistas de desplazamiento automáticamente.

Atributos

Se aplica a