1
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 logged in and LoginView
otherwise.