How to make view appear with delay in SwiftUI

Issue #731

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

HUDProgressView()
    .transition(
        AnyTransition.asymmetric(
            insertion: AnyTransition.opacity.animation(Animation.default.delay(1)),
            removal: AnyTransition.opacity)
    )
Written by

I’m open source contributor, writer, speaker and product maker.

Start the conversation