Making a nav bar disappear in Xamarin.Forms

前端 未结 2 512
迷失自我
迷失自我 2021-01-03 23:47

I\'m completely new to Xamarin.Forms and C#, and I\'m wondering how I can present a stack of Pages within a NavigationPage, without showing the navigation bar. Here\'s my co

2条回答
  •  别那么骄傲
    2021-01-04 00:01

    In StartPage, add this (in the constructor or ViewAppearing)

    NavigationPage.SetHasNavigationBar(this, false);
    

提交回复
热议问题