StatusBar

StatusBar对象提供了一些自定义iOS和Android状态栏的功能。

使用说明

客户端 Android iOS
支持说明 部分支持 部分支持

API

API名称 说明
overlaysWebView On iOS 7, make the statusbar overlay or not overlay the WebView.
styleDefault Use the default statusbar (dark text, for light backgrounds).
styleLightContent Use the lightContent statusbar (light text, for dark backgrounds).
styleBlackTranslucent Use the blackTranslucent statusbar (light text, for dark backgrounds).
styleBlackOpaque Use the blackOpaque statusbar (light text, for dark backgrounds).
backgroundColorByName On iOS 7, when you set StatusBar.statusBarOverlaysWebView to false, you can set the background color of the statusbar by color name.
backgroundColorByHexString Sets the background color of the statusbar by a hex string.
hide Hide the statusbar.
show Show the statusbar.

results matching ""

    No results matching ""