AppDelegate.cs 1.0 KB

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