Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Diagnostics;
- using EventProApp.iOS;
- using FFImageLoading.Forms.Touch;
- using Foundation;
- using UIKit;
- namespace EventProMobile.iOS
- {
- [Register("AppDelegate")]
- public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
- {
- public override bool FinishedLaunching(UIApplication app, NSDictionary options)
- {
- try
- {
- Xamarin.Forms.Forms.Init();
- // Code for starting up the Xamarin Test Cloud Agent
- #if ENABLE_TEST_CLOUD
- Xamarin.Calabash.Start();
- #endif
- Appearance.Configure();
- CachedImageRenderer.Init();
- //MobileCenter.Configure("Derp-Derp-Derp-Derp");
- EventProMobile.App.Logger.Write("Test", Splat.LogLevel.Debug);
- var formsApp = new EventProMobile.App();
- Debug.Assert(formsApp != null,"App should not be null after instantiation.");
- LoadApplication(formsApp);
- return base.FinishedLaunching(app, options);
- }
- catch (System.Exception ex)
- {
- Debug.Write($"Error on FinishedLaunching: {ex.Message}");
- throw ex;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement