Instance Method

browser:lostPeer:

Called when a nearby peer is lost.

Required.

Declaration

- (void)browser:(MCNearbyServiceBrowser *)browser lostPeer:(MCPeerID *)peerID;

Parameters

browser

The browser object that lost the nearby peer.

peerID

The unique ID of the nearby peer that was lost.

Discussion

This callback informs your app that invitations can no longer be sent to a peer, and that your app should remove that peer from its user interface.

See Also

Peer Discovery Delegate Methods

- browser:foundPeer:withDiscoveryInfo:

Called when a nearby peer is found.

Required.