2019-03-28 01:12:44 +01: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 04:44:54 +01:00
|
|
|
|
public partial class AppDelegate : Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
|
2019-03-28 01:12:44 +01: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 04:44:54 +01:00
|
|
|
|
Xamarin.Forms.Forms.Init();
|
2019-04-22 23:08:37 +02:00
|
|
|
|
|
|
|
|
|
FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
|
|
|
|
|
|
2019-05-17 18:03:35 +02:00
|
|
|
|
LoadApplication(new App.App(null));
|
2019-03-28 01:12:44 +01:00
|
|
|
|
|
|
|
|
|
return base.FinishedLaunching(app, options);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|