private void ConfigureAppStart() { var presenter = new MvxIosAppPresenter(this, Window); var setup = new Setup(this, presenter); setup.Initialize(); var startup = Mvx.Resolve <IMvxAppStart>(); startup.Start(); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { // create a new window instance based on the screen size Window = new UIWindow(UIScreen.MainScreen.Bounds); // Create iOS View Presenter object: var presenter = new MvxIosAppPresenter(this, Window); var setup = new Setup(this, presenter); // Initialize app start with view presenter and dependencies: setup.Initialize(); var startup = Mvx.Resolve <IMvxAppStart>(); startup.Start(); Window.MakeKeyAndVisible(); return(true); }