I'm looking to change a background color of a view, depending on the selected target.
In this case Imagine I have a travel app, where the base application is the same but each city is a separate target/app which varies slightly from city to city. So London would be Green and New York would be blue, for example.
How can I best achieve this? Currently I'm unsure how to get/retrieve the app target. So I can use it as a parameter in a switch case for changing the color of my view.
Also any examples, tips or guides on creating apps with a single codebase and multiple targets, is much appreciated. As I'm struggling to find much on the subject. Thank you in advance!