Ejemplo n.º 1
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            Window = new UIWindow(UIScreen.MainScreen.Bounds);
            var listViewController = new WeatherListViewController();

            Window.RootViewController = new UINavigationController(listViewController);
            Window.MakeKeyAndVisible();

            return(true);
        }
Ejemplo n.º 2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            var p = SQLite.SQLiteException.New(SQLite.SQLite3.Result.Row, "");

            Bootstrap.Begin(
                () => new LocationService(),
                () => new AlertService(),
                () => FileSystem.RegisterService(new FileSystemService())
                );

            Window = new UIWindow(UIScreen.MainScreen.Bounds);
            var listViewController = new WeatherListViewController();

            Window.RootViewController = new UINavigationController(listViewController);
            Window.MakeKeyAndVisible();

            return(true);
        }