Akiiino
Akiiino

Reputation: 1100

Xcode 6 – Unified storyboard & Size Classes

How does auto-layout work to create interfaces in Xcode 6 beta? What are different size classes & how do they work? How to use the "Resizable Unified Storyboard" to create universal iOS app?

Upvotes: 1

Views: 2957

Answers (2)

Prince Agrawal
Prince Agrawal

Reputation: 3607

I think you are talking about "Size Classes" introduced in XCode6.

A size class is a new technology used by iOS to allow you to custom your app for a given device class, based on its orientation and screen size.

There are presently four size classes.enter image description here

At any time your device is going to have a horizontal size class and a vertical size class.

You don't need to worry about device size. Whether it is iPhone 4s, 5 or mighty iPhone 6. UI would be handled automatically for you...

For more info read this article.

See this WWDC Video for more clarity..Building Adaptive Apps with UIKit

Upvotes: 1

Ing. Ron
Ing. Ron

Reputation: 2095

With that new feature only aspect ratios are defined. Click at the button "blue" area and you will see the description for the aspect:

wAny hRegular -> For all regular height layouts (e.g. iPhones in portrait, and iPads in portrait or landscape)

Upvotes: 0

Related Questions