public ParentingViewController(NavigationRenderer navigation) { if (Forms.IsiOS7OrNewer) { AutomaticallyAdjustsScrollViewInsets = false; } _navigation = new WeakReference <NavigationRenderer>(navigation); }
void UpdateLeftBarButton() { var FlyoutPage = Element as FlyoutPage; if (!(FlyoutPage?.Detail is NavigationPage)) { return; } var detailRenderer = Platform.GetRenderer(FlyoutPage.Detail) as UINavigationController; UIViewController firstPage = detailRenderer?.ViewControllers.FirstOrDefault(); if (firstPage != null) { NavigationRenderer.SetFlyoutLeftBarButton(firstPage, FlyoutPage); } }
public ParentingViewController(NavigationRenderer navigation) { AutomaticallyAdjustsScrollViewInsets = false; _navigation = new WeakReference <NavigationRenderer>(navigation); }
public ParentingViewController(NavigationRenderer navigation) { if (Forms.IsiOS7OrNewer) AutomaticallyAdjustsScrollViewInsets = false; _navigation = new WeakReference<NavigationRenderer>(navigation); }