Instance Property


The delegate object that handles browser-view-controller-related events.


iOS, Mac Catalyst, tvOS
@property(weak, nonatomic) id<MCBrowserViewControllerDelegate> delegate;
@property(weak, atomic) id<MCBrowserViewControllerDelegate> delegate;


A browser view controller notifies the delegate:

  • When the user presses the “Done” button, which is enabled when the specified minimum number of peers are connected in a session.

  • When the user cancels the view controller.

Also, as new peers are discovered, the delegate can choose whether to present them in the user interface.

See Also

Initializing a Browser View Controller

- initWithServiceType:session:

Initializes a browser view controller using the provided service type and session.

- initWithBrowser:session:

Initializes a browser view controller with the provided browser and session.


The browser object that is used for discovering peers.


The multipeer session to which the invited peers are connected.