One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

OpacityTransition

struct · iOS 17.0+ · SDK 27.1

nonisolated struct OpacityTransition

A transition from transparent to opaque on insertion, and from opaque to transparent on removal.

Members (2)

get · iOS 17.0+

properties

TypeScript
static get properties(): TransitionProperties
Swift declaration
static let properties: TransitionProperties

Returns the properties this transition type has. Defaults to `TransitionProperties()`.

init · iOS 17.0+

init

TypeScript
static init(): OpacityTransition
Swift declaration
nonisolated init()

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

OpacityTransition.body(content:phase:)

This declaration needs Swift generic type arguments. (no canonical witness for Self)

All SwiftUICore types →