I can't get past "hello world" when I run my app through the simulator

i expect it show "hello world" and then get off the screen so i could get to the other screens but it doesnt do that, it just stays like that


import SwiftUI




struct ContentView: View {

var body: some View {

Text("Hello World")


}

}

#if Debug

struct ContentView_Previews: PreviewProvider {

static var previews: some View {

ContentView()

}



}#endif

Replies

I believe you need to put a button or some type of segue on your "hello world" view to get to the other pages / views your talking about.

Please don't post the same question twice in 2 different parts or the forum.


In addition, that should be in SwiftUI, not Swift nor IB.