AppDelegate.cs 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using Foundation;
  5. using UIKit;
  6. namespace HiTA.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. global::Xamarin.Forms.Forms.Init();
  24. LoadApplication(new App());
  25. return base.FinishedLaunching(app, options);
  26. }
  27. }
  28. }