<!--
{
  "availability" : [
    "iOS: 8.0.0 - 11.0.0",
    "iPadOS: 8.0.0 - 11.0.0",
    "macCatalyst: 8.0.0 - 11.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "PushKit",
  "identifier" : "/documentation/PushKit/PKPushRegistryDelegate/pushRegistry(_:didReceiveIncomingPushWith:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PushKit"
    ],
    "preciseIdentifier" : "c:objc(pl)PKPushRegistryDelegate(im)pushRegistry:didReceiveIncomingPushWithPayload:forType:"
  },
  "title" : "pushRegistry(_:didReceiveIncomingPushWith:for:)"
}
-->

# pushRegistry(_:didReceiveIncomingPushWith:for:)

Notifies the delegate that a remote push has been received.

```
optional func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType)
```

## Parameters

`registry`

The [`PKPushRegistry`](/documentation/PushKit/PKPushRegistry) instance responsible for the delegate callback.

`payload`

The push payload sent by a developer via APNS server API.

`type`

This is a [`PKPushType`](/documentation/PushKit/PKPushType) constant, which is present in `[registry desiredPushTypes]`.

## Discussion

This method is invoked when a push notification has been received for the specified push type.

---

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)