How does one change the global default tint color in Xcode interface builder?
In the File inspector tab of the Utility panel, the right one, you can find controls about size classes, auto layout and the global tint of your storyboard.
Interface Builder Way: Select the Storyboard or Xib file you want to set the default tint on.
Then in Utilities on the first tab File Inspector look for the Interface Builder Document section and you will see a Global Tint like the image below shows.
(not enough reputation to post images)
Programmatically:
Obj-C:
[[[[UIApplication sharedApplication] delegate] window] setTintColor:[UIColor orangeColor]];
Swift:
UIWindow(frame: UIScreen.mainScreen().bounds).tintColor = UIColor.orangeColor()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With