Sample Code

Refreshing and Maintaining Your App Using Background Tasks

Use scheduled background tasks for refreshing your app content and for performing maintenance.

Download

Overview

This sample code project must be run on a physical device.

See Also

Essentials

BGTaskScheduler

A class for registering launch handlers that are run by submitting task requests to launch your app in the background.

Starting and Terminating Tasks During Development

Use the debugger to start tasks and terminate them before completion during development.