Class

GKGameSessionSharingViewController

A user interface you can use to invite other users into a tvOS game session.

Declaration

class GKGameSessionSharingViewController : UIViewController

Overview

The sharing view controller on tvOS presents a user's Game Center friend list, along with other people with whom the user has recently played the game. Users can select a person from the list and send them an invite using the Send button.

Topics

Presenting the Share UI

init(session: GKGameSession)

Creates a new sharing view controller for a specified session.

Accessing Share View Controller Properties

var delegate: GKGameSessionSharingViewControllerDelegate?

The delegate for the sharing view controller.

protocol GKGameSessionSharingViewControllerDelegate

A protocol you implement to respond to changes to a sharing user interface.

var session: GKGameSession

The game session associated with the view controller.

See Also

Game Sessions

class GKCloudPlayer

The object representing the currently signed-in iCloud user.

Deprecated
class GKGameSession

A game session you can use to save game data, invite other players, and create turn-based and real-time game apps.

Deprecated
protocol GKGameSessionEventListener

An event listener that handles game session events.

Deprecated
struct GKGameSessionError

Error codes for the GKGameSession domain.

Deprecated
enum GKGameSessionError.Code

Error codes for the GKGameSession domain.

Deprecated
let GKGameSessionErrorDomain: String

The error domain for game sessions.

Deprecated