The MCBrowser
class presents nearby devices to the user and enables the user to invite nearby devices to a session. To use this class in iOS or tvOS, call methods from the underlying UIView
class (prepare(for:
and perform
for storyboards or present(_:
and dismiss(animated:
for nib-based views) to present and dismiss the view controller. In macOS, use the comparable NSView
methods present
and dismiss(_:)
instead.
SDKs
- iOS 7.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Multipeer
Connectivity
Declaration
class MCBrowserViewController : UIView Controller
class MCBrowserViewController : NSView Controller