//
        // 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)
        {
            var version = NSBundle.MainBundle.InfoDictionary["CFBundleShortVersionString"];

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

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

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            SlideOverKit.iOS.SlideOverKit.Init();

            App.VersionName     = version.ToString();
            App.RuntimePlatform = Xamarin.Forms.Device.RuntimePlatform;
            _app = new App();
            LoadApplication(_app);

            global::Xamarin.Forms.MessagingCenter.Subscribe <Deck>(this, App.MESSAGES.SHARE_DECK, ShareDeck, null);
            global::Xamarin.Forms.MessagingCenter.Subscribe <string>(this, App.MESSAGES.SHOW_TOAST, (message) => ToastMessage.ShortAlert(message));

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