Transmits a collection of bytes to a list of connected peers.
- iOS 3.0–7.0Deprecated
- macOS 10.8–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 2.0–2.0Deprecated
An array of
NSString objects identifying the peers that should receive the data.
The mechanism used to send the data.
If the data could not be queued, an
NSError object describing the error.
true if the data was successfully queued for transmission;
false if the session object was unable to queue the data.
The session queues the data and transmits it in the order it was queued. Data transmitted unreliably may be received out of order by the other peers.
Working with Connected Peers
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software