.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.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
    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.

    5 people found this answer helpful.

0 additional answers

Sort by: Most helpful