One Logo Pool Ball
SwiftUI · IOS API REFERENCE

ScenePadding

struct · iOS 16.0+ · SDK 27.1

struct ScenePadding

The padding used to space a view from its containing scene. Add scene padding to a view using the ``View/scenePadding(_:edges:)`` modifier.

Members (1)

get · iOS 16.0+

minimum

TypeScript
static get minimum(): ScenePadding
Swift declaration
static let minimum: ScenePadding

The minimum scene padding value. In macOS, this value represents the recommended spacing for the root view of a window. In watchOS, this represents the horizontal spacing that you use to align your view with the title of a navigation view.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →