SwiftUI: How to delete a view after a certain time – Ios swift
I have this animation code: struct CheckmarkAnimation: View { @State private var isAnimating = false var body: some View { ZStack { Circle() .trim(to: isAnimating ? 1:0) .stroke(.green, lineWidth: 3) .frame(width: 100, height: 100) .animation(.easeInOut(duration: 1), value: isAnimating) Image(systemName: "checkmark")…