A
A
artursk2016-01-11 04:25:32
iOS
artursk, 2016-01-11 04:25:32

How to change the default tintColor (gray) in the Tab Bar?

How to change the default tintColor (gray) of an unpressed button in the Tab Bar? the color of the pressed bar button is blue by default, but it is easy to change it via UITabBar.appearance().tintColor... How to change the tintColor for the unpressed button?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
An, 2016-01-11
@artursk

Appearance has many properties there:
UIColor *tintColor;
UIColor *barTintColor;
UIColor *selectedImageTintColor;
UIImage *backgroundImage;
UIImage *selectionIndicatorImage;
Please try the second one, it should help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question