// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { if (!string.IsNullOrWhiteSpace(AppSettings.HockeyAppiOS)) { var manager = BITHockeyManager.SharedHockeyManager; manager.Configure(AppSettings.HockeyAppiOS); // Disable update manager manager.DisableUpdateManager = true; manager.StartManager(); } global::Xamarin.Forms.Forms.Init(); RegisterPlatformDependencies(); Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init(); CachedImageRenderer.Init(); PhoneCallService.Init(); var ignore = new CircleTransformation(); Xamarin.FormsMaps.Init(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); SupportActionBar.SetDisplayShowHomeEnabled(true); // Show or hide the default home button SupportActionBar.SetDisplayHomeAsUpEnabled(true); SupportActionBar.SetDisplayShowCustomEnabled(true); // Enable overriding the default toolbar layout SupportActionBar.SetDisplayShowTitleEnabled(false); global::Xamarin.Forms.Forms.Init(this, bundle); Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init(); UserDialogs.Init(this); CachedImageRenderer.Init(); PhoneCallService.Init(); Xamarin.FormsMaps.Init(this, bundle); InitializeHockeyApp(); LoadApplication(new App()); }