How to hide status bar in Swift Playground App and force landscape

hi, how can I hide the status bar in the whole Swift playground app (since there is no plist file)?

if I add .statusBar (hidden: true) the safe area under the Home button is raised

Also always for the plist file how can I force that the app is only in landscape always in the Swift Playground App?

In your Info.plist, add a new dictionary named UISupportedInterfaceOrientations and add the following items:

  • Portrait: UIInterfaceOrientationPortrait
  • Landscape Left: UIInterfaceOrientationLandscapeLeft (Home Button is oriented left)
  • Landscape Right: UIInterfaceOrientationLandscapeRight (Home Button is oriented right)
  • Upside Down: UIInterfaceOrientationPortraitUpsideDown (Home Button is at top, device is held sideways)
How to hide status bar in Swift Playground App and force landscape
 
 
Q