xCode - How to add 2 Default.png files in a single project?
题
I have 2 different target in my project (full & light).
I also have different Default.png files (one for the full version and one for the light one).
Is it posible to include both files in the project (having different folders) and to exclude the other one from the target Bundle Resources?
For example to have:
TARGET FULL to keep in Bundle only file Default.png from folder A
TARGET LIGHT to keep in Bundle only file Default.png from folder B
Or is any other way to accomplish this?
解决方案
You can configure the target to use a launch image not named Default.png
. Set the UILaunchImageFile
key in your Info.plist
to the correct filename.
不隶属于 StackOverflow