Exemple #1
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
            Rg.Plugins.Popup.Popup.Init();
            global::Xamarin.Forms.Forms.Init();
            SfCardViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #2
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            CachedImageRenderer.Init();
            SfListViewRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            LoadApplication(new App());

            Xamarin.FormsMaps.Init();

            return(base.FinishedLaunching(app, options));
        }
Exemple #4
0
 //
 // 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)
 {
     global::Xamarin.Forms.Forms.Init();
     Syncfusion.ListView.XForms.iOS.SfListViewRenderer.Init();
     Core.iOS.CoreSampleBrowser.Init(UIScreen.MainScreen.Bounds, app.StatusBarFrame.Size.Height);
     Syncfusion.XForms.iOS.Buttons.SfRadioButtonRenderer.Init();
     SfComboBoxRenderer.Init();
     SfBorderRenderer.Init();
     SfLinearProgressBarRenderer.Init();
     LoadApplication(new App());
     return(base.FinishedLaunching(app, options));
 }
Exemple #5
0
        //
        // 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)
        {
            // Initialize 3rd-party libraries
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();



            UINavigationBar.Appearance.BarTintColor = UIColor.FromRGB(65, 105, 225);
            UINavigationBar.Appearance.TintColor    = UIColor.FromRGB(255, 255, 255);

            return(base.FinishedLaunching(app, options));
        }
Exemple #6
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfListViewRenderer.Init();
            SfEffectsViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfSegmentedControlRenderer.Init();
            SfGaugeRenderer.Init();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Exemple #7
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfMapsRenderer.Init();
            SfBorderRenderer.Init();
            SfBusyIndicatorRenderer.Init();
            SfButtonRenderer.Init();
            ZXing.Net.Mobile.Forms.iOS.Platform.Init();

            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
        //
        // 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)
        {
            Xamarin.Calabash.Start();
            global::Xamarin.Forms.Forms.Init();
            SfListViewRenderer.Init();
            Core.Init();
            SfRotatorRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #9
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            Firebase.Core.App.Configure();
            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("MTI3MDc4QDMxMzcyZTMyMmUzMEVDNm9EVkdXWWl2NzNvK1RTM1FoL2kxZmRTbi9nN2N3blNBQUlNRUpPR0k9");
            SfTextInputLayoutRenderer.Init();
            SfBusyIndicatorRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #10
0
 public MainWindow()
 {
     InitializeComponent();
     Forms.Init();
     CoreSampleBrowser.Init();
     SfBadgeViewRenderer.Init();
     SfSegmentedControlRenderer.Init();
     SfChipGroupRenderer.Init();
     SfBorderRenderer.Init();
     SfTextInputLayoutRenderer.Init();
     SfButtonRenderer.Init();
     SfListViewRenderer.Init();
     LoadApplication(new SampleBrowser.SfBadgeView.App());
 }
Exemple #11
0
        //
        // 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)
        {
            //await CrossMedia.Current.Initialize();
            global::Xamarin.Forms.Forms.Init();
            SfCardViewRenderer.Init();
            SfListViewRenderer.Init();
            SfGradientViewRenderer.Init();
            SfChartRenderer.Init();
            SfAvatarViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfNavigationDrawerRenderer.Init();
            SfScheduleRenderer.Init();
            SfDatePickerRenderer.Init();

            SfComboBoxRenderer.Init();
            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfMapsRenderer.Init();


            SfTabViewRenderer.Init();

            SfCarouselRenderer.Init();
            SfTextInputLayoutRenderer.Init();


            SfTreeViewRenderer.Init();


            SfBadgeViewRenderer.Init();

            SfCheckBoxRenderer.Init();
            SfTimePickerRenderer.Init();
            InitializeNLog();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #12
0
        //
        // 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)
        {
            Xamarin.Forms.Forms.SetFlags("Expander_Experimental");
            global::Xamarin.Forms.Forms.Init();
            SfRatingRenderer.Init();
            SfComboBoxRenderer.Init();
            SfAvatarViewRenderer.Init();
            SfBadgeViewRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #13
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfDataGridRenderer.Init();
            SfCardViewRenderer.Init();
            SfGradientViewRenderer.Init();
            SfChartRenderer.Init();
            SfExpanderRenderer.Init();
            SfListViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Exemple #14
0
        // 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)
        {
            Forms.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            SfEffectsViewRenderer.Init();
            this.LoadApplication(new App());
            SfButtonRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfDatePickerRenderer.Init();
            SfBorderRenderer.Init();
            SfGradientViewRenderer.Init();
            SfListViewRenderer.Init();
            SfRatingRenderer.Init();
            SfRotatorRenderer.Init();
            SfComboBoxRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfPopupLayoutRenderer.Init();
            SfExpanderRenderer.Init();
            SfCardViewRenderer.Init();
            SfBadgeViewRenderer.Init();
            SfSegmentedControlRenderer.Init();
            Core.Init();
            SfMapsRenderer.Init();
            SfTabViewRenderer.Init();
            SfCalendarRenderer.Init();
            SfLinearProgressBarRenderer.Init();
            SfChartRenderer.Init();
            SfGaugeRenderer.Init();

            ////UIView statusBar = UIApplication.SharedApplication.ValueForKey(new NSString("statusBar")) as UIView;
            ////if (statusBar.RespondsToSelector(new ObjCRuntime.Selector("setBackgroundColor:")))
            ////{
            ////    statusBar.BackgroundColor = Color.FromHex("#e83f94").ToUIColor();
            ////    statusBar.TintColor = UIColor.White;
            ////}

            var result = base.FinishedLaunching(app, options);

            var safeAreInset = UIApplication.SharedApplication.KeyWindow.SafeAreaInsets;

            if (safeAreInset.Top > 0)
            {
                AppSettings.Instance.IsSafeAreaEnabled = true;
                AppSettings.Instance.SafeAreaHeight    = safeAreInset.Top;
            }

            return(result);
        }
Exemple #15
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfCardViewRenderer.Init();
            SfListViewRenderer.Init();
            Core.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfBadgeViewRenderer.Init();
            SfButtonRenderer.Init();
            SfAvatarViewRenderer.Init();
            SfBusyIndicatorRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #16
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();


            SfDataGridRenderer.Init();
            SfPickerRenderer.Init();
            SfExpanderRenderer.Init();
            SfDataFormRenderer.Init();
            SfBorderRenderer.Init();
            new SfRatingRenderer();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #17
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfPullToRefreshRenderer.Init();
            SfListViewRenderer.Init();
            SfCircularProgressBarRenderer.Init();
            SfChartRenderer.Init();
            SfNavigationDrawerRenderer.Init();
            SfBorderRenderer.Init();
            SfNumericTextBoxRenderer.Init();
            SfComboBoxRenderer.Init();
            SfMaskedEditRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #18
0
        //
        // 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();
            global::Xamarin.Forms.Forms.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfPickerRenderer.Init();
            SfRangeNavigatorRenderer.Init();
            SfTreeViewRenderer.Init();
            SfChartRenderer.Init();
            SfTreeMapRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #19
0
        //
        // 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)
        {
            //Register Syncfusion license
            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Mjk4NjY3QDMxMzgyZTMyMmUzMGRRWXBhU0ZOWWwzb3FvUFJmRFBTRVdQaUprODhxNUtIampXWUlKN3lyWFk9;Mjk4NjY4QDMxMzgyZTMyMmUzMEJ0ZTZJOTJtY2N1Z2w2MGEvTEVFWnNocjJRZVk0UnIyRUpPVDkyTkJWZE09");

            global::Xamarin.Forms.Forms.Init();
            SfComboBoxRenderer.Init();
            SfRatingRenderer.Init();
            Core.Init();
            SfGradientViewRenderer.Init();
            SfListViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            SfPopupLayoutRenderer.Init();
            SfComboBoxRenderer.Init();
            SfRatingRenderer.Init();
            SfRotatorRenderer.Init();
            SfCardViewRenderer.Init();
            SfGradientViewRenderer.Init();
            SfButtonRenderer.Init();
            SfListViewRenderer.Init();
            SfBorderRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #21
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfCardViewRenderer.Init();
            Core.Init();
            SfPopupLayoutRenderer.Init();
            SfTabViewRenderer.Init();
            SfRatingRenderer.Init();
            SfComboBoxRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfListViewRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfRatingRenderer.Init();
            SfListViewRenderer.Init();
            SfComboBoxRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            SfAvatarViewRenderer.Init();
            SfSegmentedControlRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #23
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfRangeSliderRenderer.Init();
            SfLinearProgressBarRenderer.Init();
            Core.Init();
            SfSwitchRenderer.Init();
            SfMapsRenderer.Init();
            SfCardViewRenderer.Init();
            SfBadgeViewRenderer.Init();
            SfListViewRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #24
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfGaugeRenderer.Init();
            SfListViewRenderer.Init();
            SfRatingRenderer.Init();
            Core.Init();
            SfMapsRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfGradientViewRenderer.Init();
            SfComboBoxRenderer.Init();
            SfDataFormRenderer.Init();
            SfNavigationDrawerRenderer.Init();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Exemple #25
0
        /// <summary>
        /// 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.
        /// </summary>
        /// <param name="app">Parâmetro app</param>
        /// <param name="options">Parâmetro options</param>
        /// <returns>True se FinishedLaunching</returns>
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();

            // Popup Plugin
            Rg.Plugins.Popup.Popup.Init();

            // Inicializa Syncfusion Renders
            new SfBusyIndicatorRenderer();
            SfListViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();

            // Carrega aplicação
            this.LoadApplication(new App());

            // Retorno
            return(base.FinishedLaunching(app, options));
        }
Exemple #26
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfRotatorRenderer.Init();
            SfPickerRenderer.Init();
            SfExpanderRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfBadgeViewRenderer.Init();
            Core.Init();
            SfBorderRenderer.Init();
            SfGradientViewRenderer.Init();
            SfRatingRenderer.Init();
            SfComboBoxRenderer.Init();
            SfButtonRenderer.Init();
            SfListViewRenderer.Init();
            SfDatePickerRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #27
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfChartRenderer.Init();
            SfRatingRenderer.Init();
            Core.Init();
            SfRotatorRenderer.Init();
            SfGradientViewRenderer.Init();
            SfCardViewRenderer.Init();
            SfBadgeViewRenderer.Init();
            SfBorderRenderer.Init();
            SfListViewRenderer.Init();
            SfButtonRenderer.Init();
            // Need to call this to initialise busy indicator, otherwise it won't work on iOS
            // https://help.syncfusion.com/xamarin/busy-indicator/getting-started
            new SfBusyIndicatorRenderer();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #28
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("it-IT");
            global::Xamarin.Forms.Forms.Init();

            new SfNumericTextBoxRenderer();

            SfDataGridRenderer.Init();
            SfListViewRenderer.Init();
            SfMaskedEditRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();

            new SfBusyIndicatorRenderer();
            new SfCarouselRenderer();

            ImageCircle.Forms.Plugin.iOS.ImageCircleRenderer.Init();

            LoadApplication(new App());
            return(base.FinishedLaunching(app, options));
        }
Exemple #29
0
        //
        // 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.
        //
        /// <summary>
        /// Finisheds the launching.
        /// </summary>
        /// <param name="app">The application.</param>
        /// <param name="options">The options.</param>
        /// <returns></returns>
        public override Boolean FinishedLaunching(UIApplication app,
                                                  NSDictionary options)
        {
            AppDomain.CurrentDomain.UnhandledException += this.CurrentDomainOnUnhandledException;
            TaskScheduler.UnobservedTaskException      += this.TaskSchedulerOnUnobservedTaskException;

            this.Device         = new iOSDevice();
            this.AnalysisLogger = new AppCenterAnalysisLogger();

            Forms.Init();

            Calabash.Start();

            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfTabViewRenderer.Init();

            this.LoadApplication(new App(this.Device, this.AnalysisLogger));

            return(base.FinishedLaunching(app, options));
        }
Exemple #30
0
        //
        // 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)
        {
            global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            SfExpanderRenderer.Init();
            SfCheckBoxRenderer.Init();
            Core.Init();
            SfSegmentedControlRenderer.Init();
            SfRotatorRenderer.Init();
            SfRatingRenderer.Init();
            SfComboBoxRenderer.Init();
            SfListViewRenderer.Init();
            CachedImageRenderer.Init();
            SfBadgeViewRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }