How to design ui in both portrait and landscape in ios5 using storyboard

iosLearner picture iosLearner · Jul 6, 2013 · Viewed 7.5k times · Source

How to design ui in both portrait and landscape in interface builder in iphone or ipad (Iam using storyboard not xib..)..

Thanks in advance..

Answer

Kamleshwar picture Kamleshwar · Jul 6, 2013

If you want design UI using storyboard, In latest iOS version there is option of Out Layout.

Using Autolayout you can manage UI for both modes.

Hope this will help you

http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2

Or

Other alternate provided on

iPhone Storyboard: different scene for portrait and landscape

When you add a view controller to the storyboard it comes with a view. Call that the container view. Add two views to the container view: a portrait view and a landscape view. Set the dimension of the portrait view and the landscape view appropriately using the size inspector. Add buttons, more views, labels or whatever to the portrait and landscape views as needed for your application. Then when the orientation changes hide one view and show the other.

Hope this will help you out.