Home > Articles > Programming > Mac and iOS Programming

  • Print
  • + Share This
This chapter is from the book

Summary

iDevices are all about the user experience—a touchable display, intuitive controls, and now, rotatable and resizable interfaces. Using the techniques described in this hour, you can adapt to almost any type of rotation scenario. To handle interface size changes without a line of code, for example, you can take advantage of the Auto Layout. For more complex changes, however, you might want to programmatically define your onscreen elements, giving you complete control over their size and placement. Finally, for a good balance in flexibility, you can create multiple different views and swap them as the device rotates.

By implementing rotation and size-aware applications, you give your users the ability to use their devices in the way that feels most comfortable to them.

  • + Share This
  • 🔖 Save To Your Account