Learn how to work with Xcode Previews in SwiftData App. SwiftData in combination with SwiftUI…
How to hide status bar in SwiftUI
To Hide Status Bar in SwiftUI implement this:
var body: some View {
.edgesIgnoringSafeArea(.all)
.statusBar(hidden: true)
}