We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f5ac8 commit 4e48e68Copy full SHA for 4e48e68
1 file changed
nativescript-core/ui/page/page.ios.ts
@@ -294,6 +294,15 @@ class UIViewControllerImpl extends UIViewController {
294
}
295
296
297
+
298
+ public get preferredStatusBarStyle(): UIStatusBarStyle {
299
+ const owner = this._owner.get();
300
+ if (owner) {
301
+ return owner.statusBarStyle === "dark" ? UIStatusBarStyle.LightContent : UIStatusBarStyle.Default;
302
+ } else {
303
+ return UIStatusBarStyle.Default;
304
+ }
305
306
307
308
export class Page extends PageBase {
0 commit comments