Reputation: 4289
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 :
Can I remove any storyboard and make a universal storyboard for iPads and iPhones?
Upvotes: 0
Views: 1606
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