From 81fe7d6bf9b0bbf64ff8be6761c18ad9e1d365d2 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 2 Oct 2013 12:28:19 +0200 Subject: [PATCH] Fix compatibility with older Xcode version --- Classes/LinphoneAppDelegate.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 2ce201919..66363f518 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -145,10 +145,12 @@ [self processRemoteNotification:remoteNotif]; } +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 // fix status bar color in iOS7 if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) { [application setStatusBarStyle:UIStatusBarStyleLightContent]; } +#endif return YES; }