Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Drawing under iOS 7+ StatusBar. Any workarounds?
Forum Updated to NodeBB v4.3 + New Features

Drawing under iOS 7+ StatusBar. Any workarounds?

Scheduled Pinned Locked Moved Mobile and Embedded
iosqmlqt5.5
2 Posts 2 Posters 1.0k Views 2 Watching
  • 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.
  • T Offline
    T Offline
    theoribeiro
    wrote on last edited by
    #1

    Hello all,

    I know there was a feature being added to 5.5 that would allow us to draw under the status bar as it is transparent since iOS 7 and all guidelines recommend to draw under it. The feature can be seen at: https://codereview.qt-project.org/#/c/109113/

    However, this feature broke a few things on other platforms, so it was reverted before 5.5 release as seen on: https://codereview.qt-project.org/#/c/113071/3

    Ok, I was wondering if there is any workaround to this. How is everyone working with iOS? Are you just leaving the Statusbar black, as it is the default in QML iOS applications?

    In my opinion this is terrible for the user experience as it gives the impression that the app is old or not ready for newer iOS versions.

    Best regards,

    Theo

    1 Reply Last reply
    0
    • benlauB Offline
      benlauB Offline
      benlau
      Qt Champions 2016
      wrote on last edited by benlau
      #2

      Not sure what did the patch do. But drawing under statusbar works with Qt 5.4. It is not difficult.

      Add this to your application's plist file"

      <key>UIViewControllerBasedStatusBarAppearance</key>
      <false/>
      

      Then call showFullScreen() on QWindow would make it.

      You could check my application in App Store. It won't show black statusbar:

      Team Proto on the App Store on iTunes

      Moreover, there has an example project that you could try:

      quickios/examples/quickiosexample at master · benlau/quickios

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved