Exemplo n.º 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.Init();
     LoadApplication(new App());
     SfRadioButtonRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
Exemplo n.º 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();
            SfTextInputLayoutRenderer.Init();
            SfAvatarViewRenderer.Init();
            SfSegmentedControlRenderer.Init();
            SfRadioButtonRenderer.Init();
            Core.Init();
            SfComboBoxRenderer.Init();
            SfCalendarRenderer.Init();
            SfCardViewRenderer.Init();
            SfListViewRenderer.Init();
            SfRatingRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();

            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 3
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();


            SfGaugeRenderer.Init();


            SfListViewRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfRadioButtonRenderer.Init();


            SfButtonRenderer.Init();


            SfCardViewRenderer.Init();


            SfAccordionRenderer.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();
            //UIApplication.CheckForIllegalCrossThreadCalls = false;
            // Add FFLoadingImage
            CachedImageRenderer.Init();
            var config = new FFImageLoading.Config.Configuration()
            {
                VerboseLogging                 = false,
                VerbosePerformanceLogging      = false,
                VerboseMemoryCacheLogging      = false,
                VerboseLoadingCancelledLogging = false,
                Logger = new CustomLogger(),
            };

            ImageService.Instance.Initialize(config);
            FloatingActionButtonRenderer.InitRenderer();
            new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer();
            new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer();
            new SfNumericTextBoxRenderer();
            Syncfusion.ListView.XForms.iOS.SfListViewRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            SfButtonRenderer.Init();
            Rg.Plugins.Popup.Popup.Init();
            Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
            Xamarin.FormsGoogleMaps.Init(EnvironmentConf.GoogleMapsApiKey);
            LoadApplication(new App());
            SfRadioButtonRenderer.Init();
            SfRadialMenuRenderer.Init();
            Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init();
            CrossFirebasePushNotification.Current.Subscribe("Products");
            FirebasePushNotificationManager.Initialize(options, true);
            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 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)
        {
            global::Xamarin.Forms.Forms.Init();
            //SfChartRenderer.Init();
            //SfSunburstChartRenderer.Init();
            //SfImageEditorRenderer.Init();
            SfDataGridRenderer.Init();
            //SfPickerRenderer.Init();
            //SfPdfDocumentViewRenderer.Init();
            //SfRangeSliderRenderer.Init();
            //SfScheduleRenderer.Init();
            //SfGaugeRenderer.Init();
            //SfDigitalGaugeRenderer.Init();
            //SfLinearGaugeRenderer.Init();
            //SfLinearProgressBarRenderer.Init();
            //SfCircularProgressBarRenderer.Init();
            //SfCalendarRenderer.Init();
            //SfCarouselRenderer.Init();
            //SfRotatorRenderer.Init();
            //SfAutoCompleteRenderer.Init();
            //SfBusyIndicatorRenderer.Init();
            //SfNavigationDrawerRenderer.Init();
            //SfNumericTextBoxRenderer.Init();
            //SfNumericUpDownRenderer.Init();
            //SfRadialMenuRenderer.Init();
            //SfRatingRenderer.Init();
            //SfMapsRenderer.Init();
            //SfTreeMapRenderer.Init();
            //SfPullToRefreshRenderer.Init();
            //SfListViewRenderer.Init();
            //SfKanbanRenderer.Init();
            //SfRangeNavigatorRenderer.Init();
            //SfSparklineRenderer.Init();
            //SfBarcodeRenderer.Init();
            //SfDataFormRenderer.Init();
            //SfMaskedEditRenderer.Init();
            //                                SfPopupLayoutRenderer.Init();
            Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init();
            //SfDiagramRenderer.Init();
            //SfTabViewRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfSegmentedControlRenderer.Init();
            //SfComboBoxRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            //SfTreeViewRenderer.Init();
            SfButtonRenderer.Init();
            SfBorderRenderer.Init();
            //SfParallaxViewRenderer.Init();
            //SfBadgeViewRenderer.Init();
            //SfExpanderRenderer.Init();
            //SfCardViewRenderer.Init();
            //SfCardLayoutRenderer.Init();
            //SfAccordionRenderer.Init();
            SfSwitchRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 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();
            LoadApplication(new App());
            Syncfusion.ListView.XForms.iOS.SfListViewRenderer.Init();
            SampleBrowser.Core.iOS.CoreSampleBrowser.Init(UIScreen.MainScreen.Bounds, app.StatusBarFrame.Size.Height);
            SfRadioButtonRenderer.Init();

            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();
            SfPickerRenderer.Init();
            SfComboBoxRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfButtonRenderer.Init();
            SfNumericUpDownRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 8
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();
            SfNumericUpDownRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfButtonRenderer.Init();

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

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 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)
        {
            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);
        }
Exemplo n.º 10
0
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     global::Xamarin.Forms.Forms.Init();
     Xamarin.FormsMaps.Init();
     new SfNumericTextBoxRenderer();
     FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
     new SfBusyIndicatorRenderer();
     new SfRotatorRenderer();
     SfTextInputLayoutRenderer.Init();
     LoadApplication(new App(new iOSInitializer()));
     SfMaskedEditRenderer.Init();
     SfRatingRenderer.Init();
     SfRadioButtonRenderer.Init();
     FacebookClientManager.Initialize(app, options);
     return(base.FinishedLaunching(app, options));
 }
Exemplo n.º 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)
        {
            global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            SfRatingRenderer.Init();
            SfListViewRenderer.Init();
            SfComboBoxRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            SfAvatarViewRenderer.Init();
            SfSegmentedControlRenderer.Init();
            SfRadioButtonRenderer.Init();
            Core.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();
            LoadApplication(new App());

            SfButtonRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfBorderRenderer.Init();
            SfGradientViewRenderer.Init();
            SfListViewRenderer.Init();
            SfRatingRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfPopupLayoutRenderer.Init();
            SfCardViewRenderer.Init();
            SfBadgeViewRenderer.Init();
            SfSegmentedControlRenderer.Init();
            Core.Init();

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 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)
        {
            if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0))
            {
                // Ask the user for permission to get notifications on iOS 10.0+
                UNUserNotificationCenter.Current.RequestAuthorization(
                    UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge | UNAuthorizationOptions.Sound,
                    (approved, error) => { });

                // Watch for notifications while app is active
                UNUserNotificationCenter.Current.Delegate = new UserNotificationCenterDelegate();
            }
            else if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0))
            {
                // Ask the user for permission to get notifications on iOS 8.0+
                var settings = UIUserNotificationSettings.GetSettingsForTypes(
                    UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound,
                    new NSSet());

                UIApplication.SharedApplication.RegisterUserNotificationSettings(settings);
            }

            global::Xamarin.Forms.Forms.Init();
            AnimationViewRenderer.Init();
            ZXing.Net.Mobile.Forms.iOS.Platform.Init();
            SfChartRenderer.Init();
            SfListViewRenderer.Init();
            SfButtonRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfPdfDocumentViewRenderer.Init();
            SfNumericUpDownRenderer.Init();
            SfTabViewRenderer.Init();
            SfPickerRenderer.Init();
            SfLinearProgressBarRenderer.Init();
            SfCircularProgressBarRenderer.Init();
            CachedImageRenderer.Init();
            SfDataFormRenderer.Init();
            LoadApplication(new App());
            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 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)
        {
            global::Xamarin.Forms.Forms.Init();
            SfDatePickerRenderer.Init();
            ZXing.Net.Mobile.Forms.iOS.Platform.Init();
            Core.Init();
            SfRotatorRenderer.Init();
            SfCardViewRenderer.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));
        }
Exemplo n.º 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.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer.Init();
            SfCheckBoxRenderer.Init();
            Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init();
            SfBackdropPageRenderer.Init();
            Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
            SfDataFormRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfSegmentedControlRenderer.Init();
            new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer();
            Syncfusion.XForms.iOS.Accordion.SfAccordionRenderer.Init();
            SfButtonRenderer.Init();
            SfListViewRenderer.Init();
            CachedImageRenderer.Init();
            var ignore = typeof(SvgCachedImage);

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 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();
            Core.Init();
            SfGradientViewRenderer.Init();

            SfChartRenderer.Init();


            SfSunburstChartRenderer.Init();


            SfImageEditorRenderer.Init();


            SfDataGridRenderer.Init();


            SfPickerRenderer.Init();


            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfCalendarRenderer.Init();


            SfCarouselRenderer.Init();


            SfRotatorRenderer.Init();


            SfAutoCompleteRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfRatingRenderer.Init();


            SfMapsRenderer.Init();


            SfTreeMapRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfListViewRenderer.Init();


            SfRangeNavigatorRenderer.Init();


            SfDataFormRenderer.Init();


            SfMaskedEditRenderer.Init();


            SfPopupLayoutRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfRadioButtonRenderer.Init();


            SfSegmentedControlRenderer.Init();


            SfComboBoxRenderer.Init();


            SfTextInputLayoutRenderer.Init();


            SfTreeViewRenderer.Init();


            SfButtonRenderer.Init();


            SfBorderRenderer.Init();


            SfBadgeViewRenderer.Init();


            SfExpanderRenderer.Init();


            SfCardViewRenderer.Init();


            SfCardLayoutRenderer.Init();


            SfAccordionRenderer.Init();


            SfSwitchRenderer.Init();


            SfRichTextEditorRenderer.Init();


            SfShimmerRenderer.Init();


            SfAvatarViewRenderer.Init();


            SfTimePickerRenderer.Init();


            SfDatePickerRenderer.Init();


            SfChatRenderer.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();

            SfChartRenderer.Init();


            SfDataGridRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfListViewRenderer.Init();


            SfDiagramRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfRadioButtonRenderer.Init();


            SfComboBoxRenderer.Init();


            SfButtonRenderer.Init();


            SfBorderRenderer.Init();


            SfExpanderRenderer.Init();


            SfCardViewRenderer.Init();


            SfCardLayoutRenderer.Init();


            SfSwitchRenderer.Init();


            SfTimePickerRenderer.Init();


            SfDatePickerRenderer.Init();

            LoadApplication(new App());

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