- iOS 7.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 10.0+
An object containing the message to send.
An array of peer ID objects representing the peers that should receive the message.
The transmission mode to use (reliable or unreliable delivery).
The address of an
NSErrorpointer where an error object should be stored upon error.
YES if the message was successfully enqueued for delivery, or
NO if an error occurred.
This method is asynchronous (nonblocking).
On the recipient device, the session object calls its delegate object’s
session: method with the message after it has been fully received.