Edge-to-Edge Layout

The design focus of iOS 7 is your application’s content—more specifically, your user’s content. Borders and shadows have been removed and transparency has been added in navigation bars and other UI elements. This change significantly impacts the layout of your views, especially when you’re using a navigation bar.

Beginning with iOS 7, all view controllers use full-screen layout. The wantsFullScreenLayout property on UIViewController has been deprecated, and setting it to NO will likely lead to very unexpected layout. With full-screen layout, the view controller will size its view to fill the entire screen, passing fully under the translucent system status bar. In addition, by default, all bars in iOS 7 are now translucent ...

Get The Core iOS Developer’s Cookbook, Fifth Edition 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.