Fix the statusbar color in iOS7.

This commit is contained in:
Guillaume BIENKOWSKI 2013-10-02 09:39:27 +02:00
parent 929aa2fac3
commit 70ad68906f
2 changed files with 8 additions and 0 deletions

View file

@ -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;
}

View file

@ -98,5 +98,7 @@
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>