Ejemplo n.º 1
0
            public ParentingViewController(NavigationRenderer navigation)
            {
                if (Forms.IsiOS7OrNewer)
                {
                    AutomaticallyAdjustsScrollViewInsets = false;
                }

                _navigation = new WeakReference <NavigationRenderer>(navigation);
            }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
            public ParentingViewController(NavigationRenderer navigation)
            {
                AutomaticallyAdjustsScrollViewInsets = false;

                _navigation = new WeakReference <NavigationRenderer>(navigation);
            }
Ejemplo n.º 4
0
			public ParentingViewController(NavigationRenderer navigation)
			{
				if (Forms.IsiOS7OrNewer)
					AutomaticallyAdjustsScrollViewInsets = false;

				_navigation = new WeakReference<NavigationRenderer>(navigation);
			}