简体   繁体   English

Xcode 6中用于iPhone和iPad的不同故事板

[英]Different storyboards for iPhone and iPad in xcode 6

I am using different storyboards for iPhone and iPad. 我为iPhone和iPad使用了不同的故事板。 Main.storyboard and Main~iPad.storyboard . Main.storyboardMain〜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. 但是,当我尝试在情节提要中设置资产时,它会以iPhone尺寸显示资产,因此,在将这些资产设置在正确的位置时遇到了问题。

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 ? 使得其显示Main.storyboard和iPad的资产主要〜ipad.storyboard iPhone资产?

Make sure you have set the Devices to "Universal": 确保已将设备设置为“通用”:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM