O'Reilly logo

Unity iOS Essentials by Robert Wiebe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Challenge: flipping the iOS device

One of the big differences between iOS devices and desktop devices is the frequency with which the device will be rotated. Our game interface needs to rotate, when the device is rotated, to take full advantage of this difference. In fact, for the iPad, if our game does not support at least flipping of the device, Apple will not accept it in the App store.

In Unity3D v3.4, an option called Auto Rotation was added to the Resolution and Presentation present under the Settings for iOS. This setting, shown as follows, works effectively when rotating a game:

Challenge: flipping the iOS device

It is sometimes desirable to have a bit more control than this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required