1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 06:56:10 +00:00
AideDeJeu/AideDeJeu/AideDeJeu.iOS/AppDelegate.cs
2019-10-22 16:07:50 +02:00

39 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
//[assembly: Preserve(typeof(System.DateTime), AllMembers = true)]
namespace AideDeJeu.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)
{
Xamarin.Essentials.ExperimentalFeatures.Enable(Xamarin.Essentials.ExperimentalFeatures.ShareFileRequest);
Rg.Plugins.Popup.Popup.Init();
global::Xamarin.Forms.Forms.Init();
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3());
//Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
}
}