The statusBar can be set with setStatusBar, is there a function to query the StatusBar, which type and is it visible or not?
[import]uid: 3826 topic_id: 10129 reply_id: 310129[/import]
Here is how (pick one);
settings =
{
iphone =
{
plist =
{
UIStatusBarStyle = "UIStatusBarStyleDefault",
UIStatusBarStyle = "UIStatusBarStyleBlackTranslucent",
UIStatusBarStyle = "UIStatusBarStyleBlackOpaque"
},
},
}
if it is the style you want to set. [import]uid: 13560 topic_id: 10129 reply_id: 36951[/import]
@lano78,
that does not let me know dynamically if the statusBar is set or not.
If I allow the user to set or hide the statusBar, I would like to know what is the case. Is it hidden or shown and how many pixels it is consuming.
Thanks but no thanks…
[import]uid: 3826 topic_id: 10129 reply_id: 36952[/import]
When you allow the user to set whether the statusBar is visible or not, set your own global variable and then just poll that. [import]uid: 14598 topic_id: 10129 reply_id: 37262[/import]
@alanfalcon,
that can be true but what if the statusBar was changed from another module. So if Ansca can provide a function to get the status then it will be easier.
The cases where there is an issue are
- On an iPhone and iPad the statusBar takes 20 pixels, where as on the iPhone4, the size is not 20 pixels
- Since on the Android there is no statusBar, this requires some working.
cheers,
? [import]uid: 3826 topic_id: 10129 reply_id: 37263[/import]