Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 Support (Qt 5) › navigationBar.height is not calculated correctly on iOS if StatusBar is hidden


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #13781



    navigationBar.height is not correct on iOs when StatusBar is hidden.

    In my Info.plist, I have these parameters :




    I set a Theme.navigationBar.height value.

    When starting the Apps ( in portrait ), the height value is calculated as if StatusBar is there.

    When you rotate the device in Landscape, the navigationBar.height becomes correct, and stays correct until you quit.

    Is it a bug ? Or I made something wrong ?

    Thanks for your help.


    Best Regards.





    Felgo Team

    Hi Francois!

    Can you try setting the UIViewControllerBasedStatusBarAppearance entry in the .plist to false? This should fix the issue.

    Alternatively, you can also set

        Theme.colors.statusBarStyle = Theme.colors.statusBarStyleHidden

    This setting can be used to show/hide the statusbar from your code.




    Hello Günther,

    Controlling the StatusBar with a Theme is excellent ! It’s exactly what I need…

    Many Thanks for your help.


    Best Regards.



Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.