.NET MAUI: Is there a way to hide the Navigation Bar/Title Bar when using Shell?

Julian Ewers-Peters 26 Reputation points
2022-09-27T16:39:38.393+00:00

I would like to hide the Navigation Bar on specific pages of a Shell application using .NET MAUI.
On Android, it is automatically hidden when not specifying a Title in the TabBar for the desired Tab.
On iOS, the Navigation Bar always shows up.

Am I missing something or do I need to file a bug report/feature request for this? It is important for many apps to be able to hide the navigation bar.

Developer technologies .NET .NET MAUI
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2022-09-28T05:29:16.073+00:00

    Hello,

    You need to set Shell.NavBarIsVisible="false" into the specific pages to hide the NavigationBar.

    Please refer to .NET MAUI Shell pages to get more details.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    8 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.