MCAdvertiserAssistant
The MCAdvertiserAssistant is a convenience class that handles advertising, presents incoming invitations to the user, and handles users’ responses. Use this class to provide a user interface for handling invitations when your app does not require programmatic control over the invitation process.
Declaration
class MCAdvertiserAssistantOverview
Before you can advertise a service, you must create an MCPeerID object that identifies your app and the user to nearby devices.