Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

[iOS] How can I hide navigation bar while using Xamarin.Forms?

$
0
0

I tried the following but it didn't work:

    // In page
    protected override void OnAppearing ()
    {
      base.OnAppearing ();
      DependencyService.Get<INavigationBarToggler> ().HideNavigation (this);
    }

Then in the iOS implementation, I called NavigationController.SetNavigationBarHidden (hidden: false, animated: true);


Viewing all articles
Browse latest Browse all 75885

Trending Articles