I found the solution guys. Just add the SwiftUI file name right under I mean in the first place of WindowGroup.
Have a nice time coding !
@main
struct LandmarkBookSwiftUIApp: App {
var body: some Scene {
WindowGroup {
//add the name of the first view you want to show.
}
}
}
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: