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 scheduling tasks run by submitting task requests that launch your app in the background.

Starting and Terminating Tasks During Development

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