scale
TypeScriptget scale(): numberSwift declarationvar scale: DoubleThe amount to scale the view by.
struct · iOS 17.0+ · SDK 27.1
nonisolated struct ScaleTransitionReturns a transition that scales the view.
get scale(): numberSwift declarationvar scale: DoubleThe amount to scale the view by.
set scale(value: number)Swift declarationvar scale: DoubleThe amount to scale the view by.
get anchor(): UnitPointSwift declarationvar anchor: UnitPointThe anchor point to scale the view around.
set anchor(value: UnitPoint)Swift declarationvar anchor: UnitPointThe anchor point to scale the view around.
static init(scale: number, anchor?: UnitPoint): ScaleTransitionSwift declarationnonisolated init(_ scale: Double, anchor: UnitPoint = .center)Creates a transition that scales the view by the specified amount.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ScaleTransition.body(content:phase:)
This declaration needs Swift generic type arguments. (no canonical witness for Self)