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
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Hour 17. Building Rotatable and Resizable User Interfaces

Hour 17. Building Rotatable and Resizable User Interfaces

What You’ll Learn in This Hour

  • How to make an application “rotation aware”

  • Ways of laying out an interface to enable automatic rotation

  • Methods of tweaking interface elements’ frames to fine-tune a layout

  • How to swap views for landscape and portrait viewing

You can use almost every iPad interface widget available, you can create multiple views and view controllers, add sounds and alerts, write files, and even manage application preferences—but until now, your applications suffered from a flaw—if you turn your iPad on its side, the interface can potentially become a jumbled mess! Although Apple’s iPad templates enable interface rotation, it’s up to you to react and reshape (or replace) the interface depending on the device’s orientation. Apple strongly urges developers to create apps that are viewable in all orientations, so this information may be key in getting your application approved for distribution!


  

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