Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

7. Migrating to iPad: We need more room > Rotation is key with iPad

Rotation is key with iPad

An important part of coding for the iPad is that is has to support all orientations, since Apple is big on there being no wrong way to use an iPad. Users will expect to be able to pick up their iPad any way and have it work. To start supporting all orientations, we need each of our controllers to know that we want to do that.

image with no caption

Test Drive

Now you’re supporting all the orientations, everything is linked, and devices are checked. The split view should be working now...

image with no caption

Now, push the home key and launch it again.

image with no caption

We’re not fully supporting rotations yet.

The code is all set up to handle a rotation when you’re in the app.

At startup, iPad apps should show a launch image first, while they’re loading, like a splash screen. Apple’s HIG recommends that the image should be your actual initial user interface (minus specific data). Depending on the application, though, some people use actual splash screens.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial