Edit

Share via


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

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