<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PushKit",
  "identifier" : "/documentation/PushKit/PKPushRegistry/init(queue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PushKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPushRegistry(im)initWithQueue:"
  },
  "title" : "init(queue:)"
}
-->

# init(queue:)

Creates a push registry with the specified dispatch queue.

```
init(queue: dispatch_queue_t?)
```

## Parameters

`queue`

The dispatch queue on which to execute the delegate methods. It is recommended that you specify a serial queue for this parameter. Specify `nil` to execute the delegate methods on the app’s main queue.

## Return Value

A `PKPushRegistry` object that you can use to register for push tokens and use to receive notifications.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)