Instance Property

gameCenterDelegate

The view controller’s delegate.

Declaration

weak var gameCenterDelegate: GKGameCenterControllerDelegate? { get set }

Discussion

Before displaying the view controller, your game must set a delegate.

See Also

Configuring the Game Center View Controller’s Delegate

protocol GKGameCenterControllerDelegate

The delegate is called when the player dismisses the Game Center user interface.