1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-30 11:14:51 +02:00
bitwarden-mobile/src/iOS/AppDelegate.cs

32 lines
1.1 KiB
C#
Raw Normal View History

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-03-28 01:12:44 +01:00
LoadApplication(new App.App());
return base.FinishedLaunching(app, options);
}
}
}