Search code examples
iosxcodestoryboarduistoryboardtint

How can I change the global tint color programmatically?


My project needs to switch between 2 different global tint values. How can I do this programmatically?


Solution

  • Change the tint color of the UIWindow of the application. You can either use the [[UIApplication sharedApplication] keyWindow] but better is to use [[UIApplication sharedApplication] delegate].window.