Once you modify your Main Menu, you will find that the entry to create a new window has suddenly disappeared. That happens because the New Window
entry is dynamicaly inserted by UIKit depending on whether your app supports multiple windows (or not).
In order to support this again, you have to do the following:
- Create a new
UICommand
in your Storyboard for theNew Window
entry. - Assign the title and your desired shortcut (probably Command + N).
- Select the
First Responder
in yourMainMenu Scene
- Switch to the Attributes Inspector (from the inspectors on the right)
- There, you will find an empty list named "User Defined"
- Add a new entry to this list with the following attributes:
- Action:
requestNewScene:
, Type:id
(the default) - Finally, drag from your
UICommand
menu entry to the First Responder and select the newly created action.