ios - How to change icon files with code constant on xCode? -


i'm building app has free version , paid version. difference between apps define line of constant in code (it creates code needed add on each app).

i want icons change according definition. knows how can that? can choose example between different info.plist files using code generated?

please help.

you want setup duplicate target of main target lite version. in secondary target, should identical except preprocessor macro add lite_version. should point different info.plist

then, in code @ compile time, can use #ifdef lite_version compile lite code vs reg code when compile target.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -