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
Post a Comment