title: How to enter real full screen mode in macOS?
body: <p>With the code below I tried to enter real full screen mode in macOS. If <code>nil</code> is passed as options then it enters kind of full screen mode, but no content is visible.</p>
  
  <pre><code>class ViewController: NSViewController {
      override func viewDidLoad() {
          super.viewDidLoad()
  
          let opts: NSApplication.PresentationOptions = [.fullScreen]
  
          var options = [NSView.FullScreenModeOptionKey: Any]()
          options[.fullScreenModeAllScreens] = 0
          // options[.fullScreenModeApplicationPresentationOptions] = opts.rawValue
          view.enterFullScreenMode(NSScreen.main!, withOptions: options)
      }
  }
  </code></pre>
  
  <p>How to make the content visible or is there another way to enter full screen mode?</p>