Posts by Jay • 25 points
2 posts
-
1
votes1
answer21
viewsQ: Activity indicator in Swiftui
How do I display an activity indicator using Swiftui? I have a vague idea how to do this by introducing the UIActivityIndicatorView of UIKit using the function .overlay(overlay: ) but I wonder if…
-
1
votes1
answer42
viewsQ: How to show a View depending on a condition in Swiftui
In my project with swiftui I would like to present a view depending on the login status of my users. var body: some View { HStack() { HomeView() LoginView() } } HomeView should appear if the user is…