One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

PushTransition

struct · iOS 17.0+ · SDK 27.1

nonisolated struct PushTransition

A transition that when added to a view will animate the view's insertion by moving it in from the specified edge while fading it in, and animate its removal by moving it out towards the opposite edge and fading it out.

Members (3)

get · iOS 17.0+

edge

TypeScript
get edge(): Edge
Swift declaration
var edge: Edge

The edge from which the view will be animated in.

set · iOS 17.0+

edge

TypeScript
set edge(value: Edge)
Swift declaration
var edge: Edge

The edge from which the view will be animated in.

init · iOS 17.0+

init

TypeScript
static init(edge: Edge): PushTransition
Swift declaration
nonisolated init(edge: Edge)

Creates a transition that animates a view by moving and fading it.

Skipped declarations

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

PushTransition.body(content:phase:)

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

All SwiftUICore types →