One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

TransitionProperties

struct · iOS 17.0+ · SDK 27.1

struct TransitionProperties

The properties a `Transition` can have. A transition can have properties that specify high level information about it. This can determine how a transition interacts with other features like Accessibility settings. - See Also: `Transition`

Members (3)

init · iOS 17.0+

init

TypeScript
static init(hasMotion?: boolean): TransitionProperties
Swift declaration
init(hasMotion: Bool = true)
get · iOS 17.0+

hasMotion

TypeScript
get hasMotion(): boolean
Swift declaration
var hasMotion: Bool

Whether the transition includes motion. When this behavior is included in a transition, that transition will be replaced by opacity when Reduce Motion is enabled. Defaults to `true`.

set · iOS 17.0+

hasMotion

TypeScript
set hasMotion(value: boolean)
Swift declaration
var hasMotion: Bool

Whether the transition includes motion. When this behavior is included in a transition, that transition will be replaced by opacity when Reduce Motion is enabled. Defaults to `true`.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →