mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-02 22:18:01 +00:00
23 lines
862 B
C#
23 lines
862 B
C#
using Foundation;
|
|
using UIKit;
|
|
using Serilog;
|
|
namespace qController.iOS
|
|
{
|
|
[Register("AppDelegate")]
|
|
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
|
|
{
|
|
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
|
|
{
|
|
global::Xamarin.Forms.Forms.Init();
|
|
Log.Logger = new LoggerConfiguration().WriteTo.NSLog().MinimumLevel.Error().CreateLogger();
|
|
|
|
LoadApplication(new App());
|
|
|
|
return base.FinishedLaunching(app, options);
|
|
}
|
|
|
|
public override void PerformActionForShortcutItem(UIApplication application, UIApplicationShortcutItem shortcutItem, UIOperationHandler completionHandler)
|
|
=> Xamarin.Essentials.Platform.PerformActionForShortcutItem(application, shortcutItem, completionHandler);
|
|
}
|
|
}
|