Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 21989 [details]
Sample showing issue
I have a tabbed page with a page and a page in a navigation controller. On the page with the navigation controller, there is a button that will do a push to another page. When the page is pushed I want to remove the tab bar. And when the user hits back, I want the tab bar to reappear. The property HidesBottomBarWhenPushed on a UIViewController is supposed to do just that.
Setting that property in a Xamarin.ios project works perfectly, does exactly what it is supposed to do.
Setting the property in a custom renderer in a Xamarin.forms project does nothing, the tab bar won't disappear when the page is pushed.
Tested on 220.127.116.11 and 18.104.22.168-pre2
The attached zip has the Xamarin.ios project as well as the Xamarin forms project.
Thanks for the reproduction; setting to confirmed for further investigation.
For others having this problem, found a workaround.
Set TabBarController.TabBar.Hidden to true in a custom renderer.
It will leave an empty space where the bar was, to fix, set the frame to:
TabBarController.View.Subviews.Frame = new CGRect(TabBarController.View.Subviews.Frame.X, TabBarController.View.Subviews.Frame.Y, TabBarController.View.Subviews.Frame.Width, 0);
I can confirm that this is still occurring in Forms 2.5 using the sample project provided.