9. Adaptive Deployment
As the iOS family continues to grow, apps should automatically support all new displays, orientations, and screens. Although iOS targets are not nearly as splintered as Android’s multitude, interfaces face numerous configurations for universal deployment. Until recently, routines specific to iPads or iPhones, to landscape or portrait orientation, and to Retina or non-Retina screens have transformed many iOS apps into a tangle of special-purpose code.
Auto Layout, a descriptive system for interface design, enabled developers to use rule-based view placement that automatically adjusts to screen dimensions and orientation. It was a first step on the road to true universal apps. Now new classes and protocols enable apps to ...
Get The Gourmet iOS Developer’s Cookbook: Even More Recipes for Better iOS App Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.