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?
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
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.