Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which is the default bar tint color in iOS 7

I would like to set the background (bar tint color) of a toolbar in iOS 7 to the default color (white, light gray) as shown in the screen shot below.

I tried both color variants, but none matches the default color which looks like this:

enter image description here

Which would be the correct color to specify here?

self.navigationController.toolbar.barTintColor = // ????
like image 774
AlexR Avatar asked Jan 30 '26 17:01

AlexR


1 Answers

use this:

self.navigationController.toolbar.barTintColor = nil;
self.navigationController.toolbar.translucent = YES;
like image 200
v_semenov Avatar answered Feb 02 '26 17:02

v_semenov