Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

From Code Swift 3

you can change tint for all view using one line of code

UIView.appearance().tintColor = UIColor.green
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top