I am starting to understand the whole process more! I am following along with Chris’s Chat App tutorials and when is doing the onboarding process at first, he codes in "AuthViewModel.isUserLoggedIn() after you codes in “@State var isOnboarding =”. And I put in the “@State var isOnboarding =” but the thing is with my mine, the user isn’t logging in, they can go through the process how many ever times they like by liking join and it will take them the process again, so my question is what do I put for mine?
This is the code I have right now
import SwiftUI
struct ContentView: View {
@State var isOnboarding =
var body: some View {
VStack {
Text("Hello, world")
.fullSscreenCover(isPresented: $isOnboarding) {
// On dismiss
} content: {
// The Onboarding Sequence
}
}
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}