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

[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 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>