Instance Property


The local peer ID for this instance.


var myPeerID: MCPeerID { get }


This value is set when you initialize the object, and cannot be changed later.

See Also

Configuring and Initialization

var delegate: MCNearbyServiceAdvertiserDelegate?

The delegate object that handles advertising-related events.

var discoveryInfo: [String : String]?

The info dictionary passed when this object was initialized.

var serviceType: String

The service type that your app is advertising