This question is locked. New answers and comments are not allowed.
Hey all,
I've been trying to manipulate the iOS status bar and have been running into issues. As a starting point I'm trying to port this Objective-C code into NativeScript:
UIApplication* sharedApplication = [UIApplication sharedApplication];
[sharedApplication setStatusBarHidden:YES];
I've been able to use console.log( UIApplication.sharedApplication().statusBarStyle ) to see the current style, but UIApplication.sharedApplication().setStatusBarStyle is undefined, and I'm not sure why.
Any help would be appreciated. Thanks,
TJ
I've been trying to manipulate the iOS status bar and have been running into issues. As a starting point I'm trying to port this Objective-C code into NativeScript:
UIApplication* sharedApplication = [UIApplication sharedApplication];
[sharedApplication setStatusBarHidden:YES];
I've been able to use console.log( UIApplication.sharedApplication().statusBarStyle ) to see the current style, but UIApplication.sharedApplication().setStatusBarStyle is undefined, and I'm not sure why.
Any help would be appreciated. Thanks,
TJ