Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 7 — Storyboard default tint color

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.

like image 356
p0lAris Avatar asked Oct 13 '13 01:10

p0lAris


2 Answers

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.

like image 65
Scott Berrevoets Avatar answered Nov 20 '22 11:11

Scott Berrevoets


From Code Swift 3

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

UIView.appearance().tintColor = UIColor.green
like image 1
dimohamdy Avatar answered Nov 20 '22 11:11

dimohamdy