Contents

browserViewControllerDidFinish(_:)

Called when the browser view controller is dismissed with peers connected in a session.

Declaration

func browserViewControllerDidFinish(_ browserViewController: MCBrowserViewController)

Parameters

  • browserViewController:

    The view controller that was dismissed.

Discussion

This call is intended to inform your app that the user has connected with nearby peers in a session and that the browser view controller has been dismissed. Upon receiving this delegate method call, your app must call dismiss(animated:completion:) to dismiss the view controller. Your app can also begin sending data to any connected peers, and should resume any UI updates that it may have temporarily suspended while the view controller was onscreen.

See Also

User Action Notifications