Ejemplo n.º 1
0
		public override void FinishedLaunching (UIApplication application)
		{
			Window = new UIWindow (UIScreen.MainScreen.Bounds);
			APLStackLayout stackLayout = new APLStackLayout ();
			var cvc = new APLStackCollectionViewController (stackLayout) {
				Title = "Stack Layout"
			};
			var navigationController = new UINavigationController (cvc);
			navigationController.NavigationBar.Translucent = false;

			var transitionController = new APLTransitionController (cvc.CollectionView, navigationController);
			navigationController.Delegate = new NavigationControllerDelegate (transitionController);

			Window.RootViewController = navigationController;
			Window.MakeKeyAndVisible ();
		}
Ejemplo n.º 2
0
        public override void FinishedLaunching(UIApplication application)
        {
            Window = new UIWindow(UIScreen.MainScreen.Bounds);
            APLStackLayout stackLayout = new APLStackLayout();
            var            cvc         = new APLStackCollectionViewController(stackLayout)
            {
                Title = "Stack Layout"
            };
            var navigationController = new UINavigationController(cvc);

            navigationController.NavigationBar.Translucent = false;

            var transitionController = new APLTransitionController(cvc.CollectionView, navigationController);

            navigationController.Delegate = new NavigationControllerDelegate(transitionController);

            Window.RootViewController = navigationController;
            Window.MakeKeyAndVisible();
        }