How to hide the initial window on start with OS X storyboards

前端 未结 4 1528
旧巷少年郎
旧巷少年郎 2021-02-07 23:00

I am creating an OS X status bar application, so I want the application to start hidden.

I have created a \"storyboard\" application, and the initial wi

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-07 23:34

    Uncheck the "Is Initial Controller" box on the storyboard, leaving your app without an initial controller. Your app will run, but will have no window.

    screenshot

提交回复
热议问题