Sends the specified data dictionary to the counterpart.
- iOS 9.0+
- Mac Catalyst 13.0+Beta
- watchOS 2.0+
A dictionary of property list values that you want to send. You define the contents of the dictionary that your counterpart supports. This parameter must not be
A transfer object that you can use to monitor and cancel the operation.
Call this method when you want to send a dictionary of data to the counterpart and ensure that it is delivered. Dictionaries sent using this method are queued on the other device and delivered in the order in which they were sent. After a transfer begins, the transfer operation continues even if the app is suspended.
This method can only be called while the session is active—that is, the
activation property is set to
WCSession. Calling this method for an inactive or deactivated session is a programmer error.