One Logo Pool Ball
SwiftUI · IOS API REFERENCE

ListSectionSpacing

struct · iOS 17.0+ · SDK 27.1

struct ListSectionSpacing

The spacing options between two adjacent sections in a list.

Members (3)

static · iOS 17.0+

custom

TypeScript
static custom(spacing: number): ListSectionSpacing
Swift declaration
static func custom(_ spacing: CGFloat) -> ListSectionSpacing

Creates a custom spacing value. - Parameter spacing: the amount of spacing to use.

get · iOS 17.0+

compact

TypeScript
static get compact(): ListSectionSpacing
Swift declaration
static let compact: ListSectionSpacing

Compact spacing between sections

get · iOS 17.0+

default

TypeScript
static get default(): ListSectionSpacing
Swift declaration
static let `default`: ListSectionSpacing

The default spacing between sections

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →