Skip to content

GK Access Point

Stanislav Osipov edited this page Feb 15, 2021 · 1 revision

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.

How to use.

Set Active to true to display the access point control.

using SA.iOS.GameKit;
...

GKAccessPoint.Active = true;

You can change the default location of the control, use the Location property.

using SA.iOS.GameKit;
...

GKAccessPoint.Location = GKAccessPointLocation.TopTrailing;

Highlights

The ShowHighlights property indicates whether to display highlights for achievements and current ranks for leaderboards.

using SA.iOS.GameKit;
...

GKAccessPoint.ShowHighlights = true;

Observe

In addition, you can check if the game is presenting the Game Center dashboard using GKAccessPoint.IsPresentingGameCenter or if the access point is visible with GKAccessPoint.Visible

About

Foundation

AV Foundation

App Tracking Transparency

Game Kit

Store Kit

UI Kit

Social

Replay Kit

Contacts

AVKit

Photos

App Delegate

User Notifications

MediaPlayer

Core Location

AdSupport

EventKit

CloudKit

Authentication Services

XCode

Knowledge Base

Clone this wiki locally