Instance Property


The mode the session uses to find other peers.


var sessionMode: GKSessionMode { get }


The session mode changes the behavior of the session when isAvailable is set to true.

See Also

Information about the Session

var displayName: String!

The name of the user.

var peerID: String!

A string that identifies your session to other peers.

var sessionID: String!

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


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