Instance Property


An array of all peers that are currently connected to this session.


var connectedPeers: [MCPeerID] { get }

See Also

Managing Peers Manually

func connectPeer(MCPeerID, withNearbyConnectionData: Data)

Call this method to connect a peer to the session when using your own service discovery code instead of an MCNearbyServiceBrowser or MCBrowserViewController object.

func cancelConnectPeer(MCPeerID)

Cancels an attempt to connect to a peer.