Instance Property


A string that identifies your session to other peers.


var peerID: String! { get }

See Also

Information about the Session

var displayName: String!

The name of the user.

var sessionID: String!

A string used to filter the list of peers who are allowed to see your session.

var sessionMode: GKSessionMode

The mode the session uses to find other peers.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software