GKAccessPoint
An object that allows players to view and manage their Game Center information from within your game.
Declaration
class GKAccessPointMentioned in
Overview
The access point displays a control in a corner of your game that opens a Game Center dashboard when the player taps or clicks it.
Use the shared property to get the shared access point object. GameKit attaches the access point to the window you specify in the parentWindow property, in the corner you specify using the location property. If you don’t specify a parent window, GameKit infers an appropriate location. For the location of the access point on visionOS, see Configure the access point on visionOS.
To display highlights, set the showHighlights property to true. Then set isActive to true to display the access point control.
Topics
Getting the shared access point
Managing the location
Displaying the access point
Managing the access point
isFocusedtrigger(handler:)trigger(state:handler:)trigger(player:handler:)trigger(achievementID:handler:)trigger(leaderboardID:playerScope:timeScope:handler:)trigger(leaderboardSetID:handler:)
Instance Methods
trigger(challengeDefinitionID:handler:)trigger(gameActivity:handler:)trigger(gameActivity:handler:)trigger(gameActivityDefinitionID:handler:)trigger(gameActivityDefinitionID:handler:)triggerForArcade(handler:)triggerForChallenges(handler:)triggerForFriending(handler:)triggerForPlayTogether(handler:)