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
UIScrollViewContentInsetAdjustmentBehavior
Attributes

Fields

Always 3

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

Automatic 0

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

Never 2

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

ScrollableAxes 1

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

Applies to