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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support