Aswathy Bose
Aswathy Bose

Reputation: 4289

How to create a universal storyboard for universal app in iOS?

How can I create a universal app in iOS with Storyboard?

Xcode - > File -> New -> Project -> Single View Application -> Universal App.The list of files that are autogenerated are present in the below screenshot :

enter image description here

Can I remove any storyboard and make a universal storyboard for iPads and iPhones?

Upvotes: 0

Views: 1606

Answers (1)

Suhit Patil
Suhit Patil

Reputation: 12023

Just Delete the iPad Storyboard, Go to Supporting files->ProjectName-Info.plist->Main storyboard file base name(iPad) delete that as well. Now Run your app with iPad option in Main Interface, You can use for both iPhone and iPad. It may not work properly as the screen sizes of both devices are very different. I would suggest to use separate storyboards.

Upvotes: 1

Related Questions