Q:

Init PageRenderer before it's pushed. (Xamarin.forms)

Is there any way to Init something on PageRenderer before it's pushed?
I looked documant and it says.

When a ContentPage is rendered by a Xamarin.Forms application, in iOS
  the PageRenderer class is instantiated

And I tested it. yes, PageRenderer's constructor is not called before "Push" called.
I want to access it and change ViewController HidesBottomBarWhenPushed to "True", because otherwise that function should not work.
Thanks.

A:

Instead of setting HidesBottomBarWhenPushed property, you can just override it and return the desired value.
So, in your PageRenderer implementation, you should do this:
public override bool HidesBottomBarWhenPushed
{
    get { return true; }
}

Apple docs on hidesBottomBarWhenPushed

