UIViewController.AutomaticallyAdjustsScrollViewInsets Свойство

Определение

Разработчики не должны использовать это устаревшее свойство. Вместо этого разработчикам следует использовать 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

Значение свойства

Указывает, должен ли указанный контроллер представления автоматически вносить изменения в наборы представлений прокрутки.

Атрибуты

Применяется к