如何在iPhone应用程序中创建多个捆绑包? [英] How to Create MULTIPLE bundles in iPhone Application?

查看:105
本文介绍了如何在iPhone应用程序中创建多个捆绑包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一种情况,根据某些输入,我的应用程序可以用于不同的目的。

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

例如:我有一个 Theme.js 将具有类型A 的内容,另一个 Theme.js 将具有类型B 的内容。在这里,我将需要创建两个捆绑包,以便我的应用程序自动指向将要使用的捆绑包,并使用该特定捆绑包中的资源。

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.

我没有得到从哪里开始,如我如何创建捆绑包。是新文件> resources> settings.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)在Mac上新建文件夹

步骤2)将文件添加到文件夹

步骤3)将.bundle扩展名添加到该文件夹​​中

步骤4)将文件添加到XCode

步骤5) ...?

步骤6)获利!

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!

这篇关于如何在iPhone应用程序中创建多个捆绑包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆