Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of how to use Background Services in Xamarin.Forms applications. - http://julianocustodio.com/background-services
using Foundation;
using Matcha.BackgroundService.iOS;
using UIKit;
namespace DemoBackground.iOS
{
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
BackgroundAggregator.Init(this);
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.