Drawing under iOS 7+ StatusBar. Any workarounds?
-
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
-
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