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

# handle(_:)

Tells the delegate that the system launched your app to resume an extended runtime session.

## Declaration

```swift
optional func handle(_ extendedRuntimeSession: WKExtendedRuntimeSession)
```

## Parameters

- `extendedRuntimeSession`: The extended runtime session that the system is resuming.

## Mentioned in

Using extended runtime sessions

## Discussion

Discussion The system calls this method after launching your app in response to a scheduled extended runtime session. This occurs if your app terminates after scheduling a session but before that session’s start date. The system may also call this method if your app crashes during an extended runtime session, letting you resume that session. When implementing this method, set the session’s delegate to resume the session. If you do not set the session’s delegate, the system ends the session.
