omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Hide Status Bar ?

    Pythonista
    2
    3
    2505
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Brun0oO
      Brun0oO last edited by

      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

      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by

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

        1 Reply Last reply Reply Quote 1
        • Brun0oO
          Brun0oO last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors