public override bool FinishedLaunching(UIApplication app, NSDictionary options) { var renderer = new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer(); global::Xamarin.Forms.Forms.Init(); SegmentedControlRenderer.Init(); CarouselViewRenderer.Init(); KeyboardOverlapRenderer.Init(); AnimationViewRenderer.Init(); Xamarin.FormsGoogleMaps.Init("AIzaSyCxXBNtq5ksFXZJBwW_SRkf3gEMOg4YhPc"); TintedImageRenderer.Init(); App.ScreenHeight = UIScreen.MainScreen.Bounds.Height; App.ScreenWidth = UIScreen.MainScreen.Bounds.Width; //BlobCache.ApplicationName = "Voltaire"; // Code for starting up the Xamarin Test Cloud Agent #if DEBUG Xamarin.Calabash.Start(); #else AppCenter.Start("3d0ef256-3c90-4860-b789-63ff7e930523", typeof(Distribute), typeof(Analytics), typeof(Crashes)); Distribute.DontCheckForUpdatesInDebug(); #endif SfListViewRenderer.Init(); LoadApplication(new App()); SfPdfDocumentViewRenderer.Init(); var result = base.FinishedLaunching(app, options); UIApplication.SharedApplication.StatusBarHidden = false; return(result); }
// // 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) { Rg.Plugins.Popup.Popup.Init(); var s = new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer(); global::Xamarin.Forms.Forms.Init(); Xamarin.FormsGoogleMaps.Init("AIzaSyCkavYT01FceMj7jrEhkOvvMQxNvt-P_cc"); SfPullToRefreshRenderer.Init(); SfListViewRenderer.Init(); CarouselView.FormsPlugin.iOS.CarouselViewRenderer.Init(); FloatingActionButtonRenderer.InitRenderer(); SegmentedControlRenderer.Init(); LoadApplication(new App()); var tint = ((Xamarin.Forms.Color)Xamarin.Forms.Application.Current.Resources["BottomTabTextTint"]).ToUIColor(); UIView.AppearanceWhenContainedIn(typeof(UIAlertController)).TintColor = tint; UIView.AppearanceWhenContainedIn(typeof(UIActivityViewController)).TintColor = tint; UIView.AppearanceWhenContainedIn(typeof(SLComposeViewController)).TintColor = tint; UITabBar.Appearance.TintColor = tint; var result = base.FinishedLaunching(app, options); UIApplication.SharedApplication.StatusBarHidden = false; return(result); }