AppDelegate.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using Foundation;
  5. using UIKit;
  6. namespace DevDaysSpeakers.iOS
  7. {
  8. // The UIApplicationDelegate for the application. This class is responsible for launching the
  9. // User Interface of the application, as well as listening (and optionally responding) to
  10. // application events from iOS.
  11. [Register("AppDelegate")]
  12. public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
  13. {
  14. //
  15. // This method is invoked when the application has loaded and is ready to run. In this
  16. // method you should instantiate the window, load the UI into it and then make the window
  17. // visible.
  18. //
  19. // You have 17 seconds to return from this method, or iOS will terminate your application.
  20. //
  21. public override bool FinishedLaunching(UIApplication app, NSDictionary options)
  22. {
  23. Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
  24. SQLitePCL.CurrentPlatform.Init();
  25. global::Xamarin.Forms.Forms.Init();
  26. LoadApplication(new App());
  27. return base.FinishedLaunching(app, options);
  28. }
  29. }
  30. }