Changes

An iOS 8 Swift Sprite Kit Level Editor Game Tutorial

31 bytes added, 04:36, 10 November 2016
Restricting Interface Orientation
<htmlet>ios10</htmlet>
== Restricting Interface Orientation ==
<htmlet>adsdaqbox_flow</htmlet>
The game created in this tutorial assumes that the device on which it is running will be in landscape orientation. To prevent the user from attempting to play the game with a device in portrait orientation, the Device Orientation properties for the project need to be restricted. To achieve this, select the SpriteKitDemo entry located at the top of the Project Navigator and, in the resulting General settings panel, change the device orientation settings so that only the Landscape options are selected: