protected override IMvxIosViewPresenter CreatePresenter()
        {
            var presenter = new MvxTabsViewPresenter((MvxApplicationDelegate)ApplicationDelegate, Window);

            Mvx.RegisterSingleton <IMvxTabBarPresenter>(presenter);
            return(presenter);
        }
Exemple #2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // Override point for customization after application launch.
            // If not required for your application you can safely delete this method

            Window = new UIWindow(UIScreen.MainScreen.Bounds);
            Window.BackgroundColor = UIColor.White;

            Presenter = new MvxTabsViewPresenter(this, this.Window);

            var setup = new Setup(this, this.Presenter);

            setup.Initialize();

            Mvx.Resolve <IMvxAppStart>().Start();

            Window.MakeKeyAndVisible();

            return(true);
        }