简体   繁体   中英

Multiple Settings.bundle in an iOS app

I have an iOS app project with two targets.

I currently have a single Settings.bundle for both targets, but I would like to be able to make one for each.

Is it even possible ?

Yes it is.

Create a group in the Project Navigator and name it something useful (perhaps after your first target) and drag your existing Settings.bundle inside it. Set the Target Membership of this Settings.bundle to only be the the first target.

Now create a second group and call it something useful (perhaps after the name of your second target) and create a new Settings.bundle inside it and set the Target Membership of this Settings.bundle to the second target.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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