borepin/Borepin/Borepin.iOS/AppDelegate.cs

31 lines
1.1 KiB
C#
Raw Permalink Normal View History

2021-03-30 20:54:53 +02:00
using Foundation;
2020-09-10 15:05:08 +02:00
using UIKit;
namespace Borepin.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")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
//
// 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();
2022-01-03 21:13:03 +00:00
ZXing.Net.Mobile.Forms.iOS.Platform.Init();
2021-03-30 20:54:53 +02:00
LoadApplication(new App(new PlatformInitializer()));
2020-09-10 15:05:08 +02:00
return base.FinishedLaunching(app, options);
}
}
}