How to make view appear with delay in SwiftUI

Issue #731

Sometimes we don’t want to show progress view right away

1
2
3
4
5
6
HUDProgressView()
.transition(
AnyTransition.asymmetric(
insertion: AnyTransition.opacity.animation(Animation.default.delay(1)),
removal: AnyTransition.opacity)
)

Updated at 2020-12-31 05:33:00

Comments