Abstract
The iPhone and iPad are amazing pieces of engineering. Apple engineers found all kinds of ways to squeeze maximum functionality into a pretty darn-small package. One example of this is how these devices can be used in either portrait (tall and skinny) or landscape (short and wide) mode, and how that orientation can be changed at runtime simply by rotating the device. You can see an example of this behavior, which is called, in iOS’s web browser, Mobile Safari (see Figure 5-1). In this chapter, we’ll cover rotation in detail. We’ll start with an overview of the ins and outs of autorotation, and then move on to different ways of implementing that functionality in your apps.7
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 David Mark, Kim Topley, Jack Nutting, Frederik Olsson, and Jeff LaMarche
About this chapter
Cite this chapter
Mark, D., Topley, K., Nutting, J., Olsson, F., LaMarche, J. (2015). Rotation and Adaptive Layout. In: Beginning iPhone Development with Swift 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1754-2_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1754-2_5
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1753-5
Online ISBN: 978-1-4842-1754-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)