79245725

Date: 2024-12-02 22:08:32
Score: 1
Natty:
Report link

The status bar can be hidden using the ._statusBarHidden() modifier.

example: struct ContentView: View { var body: some View {

    VStack{
        Text("Watch View")
            .padding()
        /* The following line hides the status bar */
            ._statusBarHidden()
    }
}

}

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: carsojo