UIScrollViewContentInsetAdjustmentBehavior UIScrollViewContentInsetAdjustmentBehavior Enum

Definition

Enumerates safe area inset adjustment behaviors.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIScrollViewContentInsetAdjustmentBehavior
type UIScrollViewContentInsetAdjustmentBehavior = 
Inheritance
UIScrollViewContentInsetAdjustmentBehaviorUIScrollViewContentInsetAdjustmentBehavior
Attributes

Fields

Always Always 3

Indicates that safe area insets are always included in content adjustment.

Automatic Automatic 0

Indicates that safe area insets are automatically adjusted when content is adjusted.

Never Never 2

Indicates that safe area insets are never included in content adjustment.

ScrollableAxes ScrollableAxes 1

Indicates that safe area insets are adjusted only in scroll directions.

Applies to