<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchConnectivity",
  "identifier" : "/documentation/WatchConnectivity/WCSessionDelegate/session(_:didReceiveUserInfo:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Watch Connectivity"
    ],
    "preciseIdentifier" : "c:objc(pl)WCSessionDelegate(im)session:didReceiveUserInfo:"
  },
  "title" : "session(_:didReceiveUserInfo:)"
}
-->

# session(_:didReceiveUserInfo:)

Tells the delegate that the session successfully received a data directory from its counterpart.

```
optional func session(_ session: WCSession, didReceiveUserInfo userInfo: [String : Any] = [:])
```

## Parameters

`session`

The session object of the current process.

`userInfo`

A dictionary of property list values representing the contents of the message. Use the contents of this dictionary to determine what course of action to take.

## Discussion

The session object calls this method when it successfully receives a data dictionary from its counterpart. Implement this method to incorporate the data into the app’s content.

The system calls this method on a background thread.

> Warning:
> Always test Watch Connectivity data transfers on paired devices. The system doesn’t call the ``doc://com.apple.watchconnectivity/documentation/WatchConnectivity/WCSessionDelegate/session(_:didReceiveUserInfo:)`` method in Simulator.

---

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)