GestureState
SwiftUI โฉ Gestures โฉ GestureState
@GestureState
will reset to the original value when the gesture ends.
Since @GestureState
property will reset itself, we need another @State
property to save the final state.
Last updated
Was this helpful?