Is there a way to do this in SwiftUI?
Post
Replies
Boosts
Views
Activity
Thanks for the answer but I have a swiftUI lifecycle app and It doesn't work there. I think this code only works if you use Storyboard.
I had the same problem. I removed "After(0.1)" and that worked for me. So the line will be: DispatchQueue.main.async