Beispiel #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();
            PlatformGestureEffect.Init();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Beispiel #2
0
        protected override void OnCreate(Bundle bundle)
        {
            ToolbarResource   = Resource.Layout.Toolbar;
            TabLayoutResource = Resource.Layout.Tabbar;
            base.OnCreate(bundle);

            PlatformGestureEffect.Init();

            global::Xamarin.Forms.Forms.Init(this, bundle);
            LoadApplication(new App());
        }
Beispiel #3
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //To be registered by Xamarin Forms, assemblies containing xamarin forms plugins have to be loaded before Forms.Init()
            SvgImageRenderer.InitializeForms();
            PlatformGestureEffect.Init();

            global::Xamarin.Forms.Forms.Init();

            LoadApplication(new App());
            HandleNotifications(options);
            return(base.FinishedLaunching(app, options));
        }
Beispiel #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)
        {
            UltimateXFSettup.Initialize();
            PlatformGestureEffect.Init();
            Forms.SetFlags("IndicatorView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            global::Xamarin.Forms.FormsMaterial.Init();
            LoadApplication(new App());
            DependencyService.Register <ToastNotification>();
            ToastNotification.Init();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();

            return(base.FinishedLaunching(app, options));
        }
Beispiel #5
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;
            base.OnCreate(savedInstanceState);

            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            Forms.SetFlags("AppTheme_Experimental", "Expander_Experimental", "IndicatorView_Experimental");
            PlatformGestureEffect.Init();
            Forms.Init(this, savedInstanceState);
            FormsMaterial.Init(this, savedInstanceState);
            LoadApplication(new App());
            App.UIParent     = this;
            App.AuthUIParent = this;
        }