Share via


UIScrollViewContentInsetAdjustmentBehavior Enum

Definition

Enumerates safe area inset adjustment behaviors.

[ObjCRuntime.Native]
public enum UIScrollViewContentInsetAdjustmentBehavior
[<ObjCRuntime.Native>]
type UIScrollViewContentInsetAdjustmentBehavior = 
Inheritance
UIScrollViewContentInsetAdjustmentBehavior
Attributes

Fields

Name Value Description
Automatic 0

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

ScrollableAxes 1

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

Never 2

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

Always 3

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

Applies to