<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVSystemRouting",
  "identifier" : "/documentation/AVSystemRouting/AVSystemRouteDataDelegate-3zbcm/receiveData:completionHandler:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVSystemRouting"
    ],
    "preciseIdentifier" : "c:objc(pl)AVSystemRouteDataDelegate(im)receiveData:completionHandler:"
  },
  "title" : "receiveData:completionHandler:"
}
-->

# receiveData:completionHandler:

Receives data sent from a connected remote application.

```
- (void) receiveData:(NSData *) data completionHandler:(void (^)(NSError *error)) completionHandler;
```

## Parameters

`data`

The data received from the remote application.

`completionHandler`

A completion handler to call after processing the received data.
Pass an error if processing fails, or `nil` on success.

---

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)