---
title: "handle(_:)"
framework: watchkit
role: symbol
role_heading: Instance Method
path: "watchkit/wkapplicationdelegate/handle(_:)-4vdjo"
---

# handle(_:)

Tells the delegate that the app has received one or more background tasks.

## Declaration

```swift
optional func handle(_ backgroundTasks: Set<WKRefreshBackgroundTask>)
```

## Parameters

- `backgroundTasks`: A set containing one or more background tasks.

## Mentioned in

Using background tasks Preparing to take your watchOS app’s snapshot

## Discussion

Discussion The system calls this method after launching your app to handle a background task. Use this method to handle the specified tasks. Call each tasks’s setTaskCompletedWithSnapshot(_:) method as soon as the task is complete. For more information on background tasks, see Using background tasks.
