forked from mirrors/linphone-iphone
Fix the statusbar color in iOS7.
This commit is contained in:
parent
929aa2fac3
commit
70ad68906f
2 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -98,5 +98,7 @@
|
|||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
</array>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue