Reputation: 4820
I have multiple storyboards in my app and for one specific storyboard I wish to have a different color scheme. This may not be according to iOS 7 guidelines but nonetheless, I am wondering if there is a way to change the tint color for every UIControl for a particular storyboard.
Upvotes: 19
Views: 8645
Reputation: 3053
From Code Swift 3
you can change tint for all view using one line of code
UIView.appearance().tintColor = UIColor.green
Upvotes: 1
Reputation: 16946
Yes, if you go to the File inspector, you can set the global color per storyboard. In fact, I don't think you can set the tint color for multiple storyboards at once (aside from doing it in code).
Select the File inspector:
The second section looks like this:
Change the Global Tint, and that color will be the tint color for your entire storyboard.
Upvotes: 41