How to Create MULTIPLE bundles in iPhone Application?

末鹿安然 提交于 2019-12-08 07:26:46

问题


Hi I have a situation where my application can be used for different purposes depending on certain inputs.

Ex: I have a Theme.js which will have contents for Type A and another Theme.js will have contents for Type B. Here i will need to create a two bundles so that my application automatically will point to the bundle which will be used and use resources from that particular bundle.

I am not getting where to start with like How do i create a bundle. Is new file >resources> settings.bundle ?

ANY HELP WOULD REALLY BE APPRECIATED :)


回答1:


Step 1) Make new folder on Mac
Step 2) Add files to folder
Step 3) Add .bundle extension to that folder
Step 4) Add the file to XCode
Step 5) ...?
Step 6) PROFIT!



来源:https://stackoverflow.com/questions/9904615/how-to-create-multiple-bundles-in-iphone-application

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