简体   繁体   English

通用iOS应用文件管理

[英]Universal iOS app file managing

I have written universal app and am not sure about code/file management. 我写了通用应用程序,不确定代码/文件管理。 For example, I use file A (.h and .m) on iPhone app and file B (.h and .m) on iPad. 例如,我在iPhone应用程序上使用文件A(.h和.m),在iPad上使用文件B(.h和.m)。 If I export IPA file, I think both file A and file B will be there for both iPhone and iPad. 如果导出IPA文件,我认为iPhone和iPad都将同时看到文件A和文件B。 Can I manage to exclude file A for iPad? 我可以排除iPad的文件A吗? It is also same for images. 图像也相同。 I have some images that is only used in iPhone. 我有一些仅在iPhone中使用的图像。 How can I exclude that? 如何排除呢?

It's a universal app, the bundle will always include all files. 这是一个通用应用程序,捆绑软件将始终包含所有文件。

If you do not want that build and distribute 2 different targets for iPhone and iPad and include only required files and classes. 如果您不希望为iPhone和iPad生成并分发2个不同的目标,并且仅包含必需的文件和类。

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

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