public override void OnCreate() { base.OnCreate(); var dbFolder = Environment.GetFolderPath(Environment.SpecialFolder.Personal); ExampleApp.Init(dbFolder).ContinueWith(x => {}); var icons = Typeface.CreateFromAsset(Assets, "fonts/proveo_ios.ttf"); TypefaceCollection.Add("proveo_ios", FontStyle.Normal, icons); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { application.StatusBarStyle = UIStatusBarStyle.LightContent; var dbFolder = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); ExampleApp.Init(dbFolder).ContinueWith(t => { }); Window = Window ?? new UIWindow(); Window.RootViewController = new MainMenuController(); Window.MakeKeyAndVisible(); return(true); }