Compartilhar via


UIViewController.AutomaticallyAdjustsScrollViewInsets Propriedade

Definição

Os desenvolvedores não devem usar essa propriedade preterida. Em vez disso, os desenvolvedores devem usar 'UIScrollView.ContentInsetAdjustmentBehavior'.

[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 da propriedade

Se o controlador de exibição especificado deve ou não fazer ajustes em seus insets de exibição de rolagem automaticamente.

Atributos

Aplica-se a