Forum Archive

Hide Status Bar ?

Brun0oO

Hi,

Is it possible to hide the iOS status bar when i start the ui.view in fullscreen mode?
It seems to be possible when we use the scene class.
In fact, i'm using the 1.6b with the SceneKit wrapper and i'm trying to have a "trully" fullscreen mode.

Thanks for your help!

Bruno

omz

A simple way would be to just create a SceneView for presentation, and add your actual views as subviews.

Brun0oO

Actually, I'm doing this :

...
w, h = ui.get_screen_size()
main_view = ui.View()
main_view_objc = ObjCInstance(main_view)
left_scene_view = SCNView.alloc().initWithFrame_options_(((0,0), (w,h/2)), None).autorelease()
...
main_view_objc.addSubView_(left_scene_view)
main_view.present("fullscreen", hide_title_bar=True)
...

but i still have the status bar (but the title bar with the close button is hidden), what code can i add to hide this bar?

Bruno