I´m using Xamarin forms and I'm unable to prevent that the sidebar is shown on Login.
I tried this on my LoginPage.xaml:
Shell.NavBarIsVisible="False"
Shell.FlyoutItemIsVisible="False"
protected override void OnAppearing()
{
base.OnAppearing();
Shell.SetTabBarIsVisible(this, false);
Shell.SetNavBarIsVisible(this, false);
//AppShell.Current.remo();
}
protected override void OnDisappearing()
{
base.OnDisappearing();
Shell.SetTabBarIsVisible(this, true);
Shell.SetNavBarIsVisible(this, true);
}
Can anyone help me?
If by side bar you mean the
Shellflyout then add below line in your login page xamlDocs: Shell flyout-behavior