Instance Method browser(_: lost Peer:)
Called when a nearby peer is lost.
iOS 7.0+ macOS 10.10+ Mac Catalyst 13.0+ Beta tvOS 10.0+ Parameters
The browser object that lost the nearby peer.
The unique ID of the nearby peer that was lost.
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.
Because there is a delay between when a host leaves a network and when the underlying Bonjour layer detects that it has left, the fact that your app has not yet received a disappearance callback does not guarantee that it can communicate with the peer successfully.
See Also Peer Discovery Delegate Methods
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