You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/26 14:36:33 UTC
[GitHub] [cordova-plugin-statusbar] forumics commented on issue #165:
Deprecate StatusBar.styleDefault or document iOS 13 behaviour
forumics commented on issue #165: Deprecate StatusBar.styleDefault or document iOS 13 behaviour
URL: https://github.com/apache/cordova-plugin-statusbar/issues/165#issuecomment-546608535
edit CDVStatusBar.m
look for this line:
- (void) styleDefault:(CDVInvokedUrlCommand*)command
replace the whole method with
- (void) styleDefault:(CDVInvokedUrlCommand*)command
{
if (@available(iOS 13.0, *)) {
[self setStyleForStatusBar:UIStatusBarStyleDarkContent];
} else {
[self setStyleForStatusBar:UIStatusBarStyleDefault];
}
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org