p0lAris
p0lAris

Reputation: 4820

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.

Upvotes: 19

Views: 8645

Answers (2)

dimohamdy
dimohamdy

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

Scott Berrevoets
Scott Berrevoets

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

Related Questions