Contents

myPeerID

A local identifier that represents the device on which your app is currently running.

Declaration

var myPeerID: MCPeerID { get }

Discussion

You set this value when you initialize the session object. It cannot be changed later.

See Also

Creating a Session