O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Designing your interface builder for any size classes in one storyboard

Autolayout doesn't solve all your problems in building the UI screen. The big change nowadays in all screen sizes in iOS leads to different behaviors based on screen size. To build a universal app (iPhone and iPad) at the same time, most probably you need to build to two storyboards, which means you have to put in double efforts. However, what if you have a different UI in a landscape mode, 99% percent you would write code to handle this stuff, which is painful. More painful is the iPhone 6 plus screen size, which is huge enough to hold more details than the other iPhones, where some apps have a different UI only specific for iPhone 6 plus. Check out the following two screenshots ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required