How to Create MULTIPLE bundles in iPhone Applicati

2019-06-07 20:32发布

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条回答
唯我独甜
2楼-- · 2019-06-07 21:24

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!

查看更多
登录 后发表回答