Xcode & Swift - Window without title bar but with close, minimize and resize buttons

后端 未结 7 2212
被撕碎了的回忆
被撕碎了的回忆 2020-12-22 17:29

I am currently using Swift in Xcode 6, Beta 5. I am trying to remove the title bar, or any visible difference between the title bar and the actual content. If I enable \"Uni

7条回答
  •  半阙折子戏
    2020-12-22 18:14

    If you are using storyboard, it's just a simple check box in the Inspector bar.

    1. Select the window from Story Board

    2. Check the Transparent Title Bar checkbox in the inspector window.

    Here's how it looks like in the Story board. It looks the same when you build and run the application.

提交回复
热议问题