yackle / CLImageEditor

MIT License
2.22k stars 574 forks source link

How to set navigation barTintColor? #131

Closed DimonDeveloper closed 8 years ago

DimonDeveloper commented 8 years ago

I try almost everything, but wherever I wrote navigationBar.barTintColor = [UIColor whiteColor]; or [self.navigationController.navigationBar setBarTintColor:[UIColor **whiteColor]]; or even [[UINavigationBar appearance] setBarTintColor:[UIColor whiteColor]]; it does nothing.

Please tell me how to do it?

yackle commented 8 years ago

As far as I tried,

[[UINavigationBar appearance] setBarStyle:UIBarStyleBlack];
[[UINavigationBar appearance] setBarTintColor:[UIColor redColor]];
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];

works with demo project.

a

DimonDeveloper commented 8 years ago

Now works fine, thank you very much.