Different storyboards for iPhone and iPad in xcode 6

北城余情 提交于 2020-01-05 10:30:13

问题


I am using different storyboards for iPhone and iPad. Main.storyboard and Main~iPad.storyboard. But when I try to set assets in the storyboard it shows them in iPhone sizes due to which I am having issues setting those assets in the correct place.

Is there a way to make it detect the correct assets as per storyboard? such that it shows iPhone assets for Main.storyboard and iPad assets for Main~ipad.storyboard?


回答1:


Make sure you have set the Devices to "Universal":



来源:https://stackoverflow.com/questions/27813647/different-storyboards-for-iphone-and-ipad-in-xcode-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!