From 70ad68906f0b4ff5436cae81ffa9fb4f323b8c83 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 2 Oct 2013 09:39:27 +0200 Subject: [PATCH] Fix the statusbar color in iOS7. --- Classes/LinphoneAppDelegate.m | 6 ++++++ linphone-Info.plist | 2 ++ 2 files changed, 8 insertions(+) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 4dc2e9923..2ce201919 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -144,6 +144,12 @@ [LinphoneLogger log:LinphoneLoggerLog format:@"PushNotification from launch received."]; [self processRemoteNotification:remoteNotif]; } + + // fix status bar color in iOS7 + if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) { + [application setStatusBarStyle:UIStatusBarStyleLightContent]; + } + return YES; } diff --git a/linphone-Info.plist b/linphone-Info.plist index 6118fb186..cae2d426b 100644 --- a/linphone-Info.plist +++ b/linphone-Info.plist @@ -98,5 +98,7 @@ UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationPortrait + UIViewControllerBasedStatusBarAppearance +