public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // create a new window instance based on the screen size _window = new UIWindow(UIScreen.MainScreen.Bounds); var presenter = new ConferencePresenter(this, _window); //var presenter = // IsPad // ? (IMvxTouchViewPresenter)new TwitterTabletSearchPresenter(this, _window) // : (IMvxTouchViewPresenter); var setup = new Setup(this, presenter); setup.Initialize(); Mvx.RegisterSingleton <ITabBarPresenterHost>(presenter); // start the app var start = Mvx.Resolve <IMvxAppStart>(); start.Start(); _window.MakeKeyAndVisible(); return(true); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // create a new window instance based on the screen size _window = new UIWindow(UIScreen.MainScreen.Bounds); var presenter = new ConferencePresenter(this, _window); //var presenter = // IsPad // ? (IMvxTouchViewPresenter)new TwitterTabletSearchPresenter(this, _window) // : (IMvxTouchViewPresenter); var setup = new Setup(this, presenter); setup.Initialize(); Mvx.RegisterSingleton<ITabBarPresenterHost>(presenter); // start the app var start = Mvx.Resolve<IMvxAppStart>(); start.Start(); _window.MakeKeyAndVisible(); return true; }