AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Cordova transparent status bar ios11/12/2022 ![]() ![]() Although in the global scope, it is not available until after the deviceready event. If you edit it manually without Xcode, the keys and values are. You can read more about it here.ĭuring runtime you can use the StatusBar. You must convert your decimal opacity values to a hexadecimal value. That first pair of letters, the AA, represent the alpha channel. It is also possible to make the status bar semi-transparent. On iOS, set the status bar style.Īvailable options default, lightcontent, blacktranslucent, blackopaque.ĭefaults to false so you can listen to the "statusTap" event described below and customize the behavior instead. StatusBarStyle status bar style, defaults to lightcontent. If this value is not set, the background color will be transparent. StatusBarBackgroundColor color hex string, no default value. On iOS, make the statusbar overlay or not overlay the WebView at startup. Toggle navigation.StatusBarOverlaysWebView boolean, defaults to true. Something wrong with this page? Make a suggestion. You can then set the style and background color to suit using the other functions. Set to false to make the statusbar solid and not overlay your app. Ensure that you adjust your styling accordingly so that your app's title bar or content is not covered. Set to true to make the statusbar overlay on top of your app. ![]() During runtime you can use the StatusBar. ![]() Available options: default, lightcontent, blacktranslucent, blackopaque.ĭefaults to false so you can listen to the "statusTap" event described below and customize the behavior instead. Make the statusbar overlay or not overlay the WebView at startup. StatusBarOverlaysWebView boolean, defaults to true. ![]()
0 Comments
Read More
Leave a Reply. |