I need hide navigation bar in xamarin forms 3.0.
I try this, but dont work: Hide Navigation Bar on MasterDetailPage
I want hide navigation b
In addition to Pedro's answer, you can also hide the navigation bar in your .xaml
file. For example:
<ContentPage NavigationPage.HasNavigationBar="False">
...
</ContentPage>
Note: This works in Xamarin 4.0 but I haven't tested it in 3.0.
On the detail page you have to remove the navigation bar with NavigationPage.SetHasNavigationBar(this, false);
in the constructor right after InitializeComponent()
public partial class MyPage : NavigationPage
{
public MyPage()
{
InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false);
}
}