smartsoldier
smartsoldier

Reputation: 153

A Page without the tab Xamarin.forms

I want a specific page without the tabbed page. I want to remove the tabbed page. However when I use this code it removes the navigation.

NavigationPage.SetHasNavigationBar(this, false);

enter image description here

Upvotes: 1

Views: 506

Answers (1)

Zein Makki
Zein Makki

Reputation: 30022

Based on this link from Xamarin:

It seems you need to create a custom renderer for your page and set ParentViewController.TabBarController.TabBar.Hidden = true in ViewWillAppear()

Upvotes: 1

Related Questions