---
title: WidgetPushHandler
framework: widgetkit
role: symbol
role_heading: Protocol
path: widgetkit/widgetpushhandler
---

# WidgetPushHandler

A type that can receive push information about widget refreshes and relevance refreshes.

## Declaration

```swift
protocol WidgetPushHandler
```

## Mentioned in

Updating widgets with WidgetKit push notifications

## Overview

Overview Register a type conforming to this protocol to receive push information using the pushHandler(_:) modifier on your widgets’ configurations.

## Topics

### Initializers

- [init()](widgetkit/widgetpushhandler/init().md)

### Instance Methods

- [pushTokenDidChange(_:widgets:)](widgetkit/widgetpushhandler/pushtokendidchange(_:widgets:).md)

## See Also

### Push notification updates

- [Updating widgets with WidgetKit push notifications](widgetkit/updating-widgets-with-widgetkit-push-notifications.md)
- [WidgetPushInfo](widgetkit/widgetpushinfo.md)
