Commit 64cd4782 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

nav con: fix iOS 6 appearance

parent afe0dc85
......@@ -18,9 +18,10 @@
{
UINavigationBar *navBar = self.navigationBar;
if (!SYSTEM_RUNS_IOS7_OR_LATER) {
navBar.tintColor = [UIColor colorWithRed:(242.0f/255.0f) green:(112.0f/255.0f) blue:0.0f alpha:1.f];
[navBar setBackgroundImage:[UIImage imageNamed:@"navBarBackground"] forBarMetrics:UIBarMetricsDefault];
navBar.barStyle = UIBarStyleBlack;
navBar.translucent = NO;
navBar.opaque = YES;
} else {
navBar.barTintColor = [UIColor colorWithRed:1.0f green:(132.0f/255.0f) blue:0.0f alpha:1.f];
navBar.tintColor = [UIColor whiteColor];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment