AppDelegate.cs 757 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using Foundation;
  5. using UIKit;
  6. namespace DevDaysTasks.iOS
  7. {
  8. [Register ("AppDelegate")]
  9. public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
  10. {
  11. public override bool FinishedLaunching (UIApplication app, NSDictionary options)
  12. {
  13. global::Xamarin.Forms.Forms.Init ();
  14. Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
  15. // IMPORTANT: uncomment this code to enable sync on Xamarin.iOS
  16. // For more information, see: http://go.microsoft.com/fwlink/?LinkId=620342
  17. SQLitePCL.CurrentPlatform.Init();
  18. LoadApplication (new App ());
  19. return base.FinishedLaunching (app, options);
  20. }
  21. }
  22. }