One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

ScrollContentOffsetAdjustmentBehavior

struct · iOS 18.0+ · SDK 27.1

struct ScrollContentOffsetAdjustmentBehavior

A type that defines the different kinds of content offset adjusting behaviors a scroll view can have.

Members (2)

get · iOS 18.0+

disabled

TypeScript
static get disabled(): ScrollContentOffsetAdjustmentBehavior
Swift declaration
static var disabled: ScrollContentOffsetAdjustmentBehavior { get }

The disabled behavior. A scroll view will not adjust its content offset.

get · iOS 18.0+

automatic

TypeScript
static get automatic(): ScrollContentOffsetAdjustmentBehavior
Swift declaration
static var automatic: ScrollContentOffsetAdjustmentBehavior { get }

The automatic behavior. A scroll view may automatically adjust its content offset based on the current context. The absolute offset may be adjusted to keep content in relatively the same place. For example, when scrolled to the bottom, a scroll view may keep the bottom edge scrolled to the bottom when the overall size of its content changes.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →