One Logo Pool Ball
SwiftUI · IOS API REFERENCE

ScrollTargetBehaviorProperties

struct · iOS 18.4+ · SDK 27.1

struct ScrollTargetBehaviorProperties

Properties influencing the scroll view a scroll target behavior applies to.

Members (3)

get · iOS 18.4+

limitsScrolls

TypeScript
get limitsScrolls(): boolean
Swift declaration
var limitsScrolls: Bool { get set }

Whether this scroll target behavior should limit the distance a scroll view scrolls by default. When enabled, the scroll view prefers to scroll a shorter distance. By default, this is not enabled.

set · iOS 18.4+

limitsScrolls

TypeScript
set limitsScrolls(value: boolean)
Swift declaration
var limitsScrolls: Bool { get set }

Whether this scroll target behavior should limit the distance a scroll view scrolls by default. When enabled, the scroll view prefers to scroll a shorter distance. By default, this is not enabled.

init · iOS 18.4+

init

TypeScript
static init(): ScrollTargetBehaviorProperties
Swift declaration
init()

Creates a default set of properties.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →