2019-03-28 03:12:44 +03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
using Foundation;
|
|
|
|
|
using UIKit;
|
|
|
|
|
|
|
|
|
|
namespace Bit.iOS
|
|
|
|
|
{
|
|
|
|
|
// The UIApplicationDelegate for the application. This class is responsible for launching the
|
|
|
|
|
// User Interface of the application, as well as listening (and optionally responding) to
|
|
|
|
|
// application events from iOS.
|
|
|
|
|
[Register("AppDelegate")]
|
2019-03-28 06:44:54 +03:00
|
|
|
|
public partial class AppDelegate : Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
|
2019-03-28 03:12:44 +03:00
|
|
|
|
{
|
|
|
|
|
//
|
|
|
|
|
// 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)
|
|
|
|
|
{
|
2019-03-28 06:44:54 +03:00
|
|
|
|
Xamarin.Forms.Forms.Init();
|
2019-04-23 00:08:37 +03:00
|
|
|
|
|
|
|
|
|
FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
|
|
|
|
|
|
2019-05-17 19:03:35 +03:00
|
|
|
|
LoadApplication(new App.App(null));
|
2019-03-28 03:12:44 +03:00
|
|
|
|
|
|
|
|
|
return base.FinishedLaunching(app, options);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|