The iPhone and iPad exude amazing engineering in form, fit and function. Apple engineers found all kinds of ways to squeeze maximum functionality into a very small and elegant package. One example of this exists in the ability of these devices to 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 see an example of this autorotation behavior in the iOS Safari browser, as shown in Figure The iPhone and iPad exude amazing engineering in form, fit and function. Apple engineers found all kinds of ways to squeeze maximum ...
- 5. Working with Device Rotations
- from Beginning iPhone Development with Swift 3: Exploring the iOS SDK, Third Edition
- Publisher: Apress
- Released: April 2017
This is counter to my experience when they make sure that every iOS version has broken interfaces and functionality (instead of keeping backward compatibility and creating new interfaces for the "new toys", they just replace the interfaces and break everything - ex. iOS 7 and full screen mode created a black bar on the bottom of all old apps that where run on iOS 7).
Share this highlighthttp://www.safaribooksonline.com/a/beginning-iphone-development/4983259/