---
title: desiredPushTypes
framework: pushkit
role: symbol
role_heading: Instance Property
path: pushkit/pkpushregistry/desiredpushtypes
---

# desiredPushTypes

Registers the push types for this push registry object.

## Declaration

```swift
var desiredPushTypes: Set<PKPushType>? { get set }
```

## Mentioned in

Supporting PushKit Notifications in Your App

## Discussion

Discussion When you assign a value to this property, the push registry object makes a registration request with the PushKit server. This request is asynchronous, and the success or failure of the request is reported to your registry’s delegate object. For a successful registration, PushKit delivers a push token to the delegate. Use that token to generate push requests from your server. For a list of push types that you may include in the set, see PKPushType.

## See Also

### Managing the Push Registry

- [pushToken(for:)](pushkit/pkpushregistry/pushtoken(for:).md)
