开发者

Universal app iPad / iPhone with separate resources?

I have built a universal app.

I have assets that are for both but I have a couple assets ( embedded movi开发者_JAVA技巧e's ) that are only for iPhone or only for iPad.

Is there a possibility to make 2 builds 1 for iPhone and 1 for iPad so that the iPhone app doesn't grow to large?


No.

An universal app always contains resources for both platforms. You could of cause build an iPhone app and an iPad app from the same XCode project, but they would not be universal.

To do so, duplicate your existing universal target, open the build setting and set the targeted device family to iPhone, on your old target set the targeted device family to iPad, or create a second copy and set it's target family to iPad.

Open the target's Copy Bundle Resources build phase and delete everything, that's not needed for this targets platform.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜