GameKit · IOS API REFERENCE
GKAccessPoint
class · iOS 14.0+ · SDK 27.1
class GKAccessPoint
Members (28)
method · iOS 26.0+trigger
TypeScripttriggerGameActivityHandler(gameActivity: GKGameActivity, handler?: ((() => void)) | null): void
Swift declaration@objc(triggerAccessPointWithGameActivity:handler:) dynamic func trigger(gameActivity: GKGameActivity, handler: (@Sendable () -> Void)? = nil)
method · iOS 26.0+trigger
TypeScripttriggerGameActivityDefinitionIDHandler(gameActivityDefinitionID: string, handler?: ((() => void)) | null): void
Swift declaration@objc(triggerAccessPointWithGameActivityDefinitionID:handler:) dynamic func trigger(gameActivityDefinitionID: String, handler: (@Sendable () -> Void)? = nil)
get · iOS 14.0+shared
TypeScriptstatic get shared(): GKAccessPoint
Swift declarationclass var shared: GKAccessPoint { get }
initinit
TypeScriptstatic init(): GKAccessPoint
Swift declarationinit()
method · iOS 26.2+triggerForArcade
TypeScripttriggerForArcade(handler?: ((() => void)) | null): void
Swift declarationfunc triggerForArcade() async
method · iOS 26.0+triggerForChallenges
TypeScripttriggerForChallenges(handler?: ((() => void)) | null): void
Swift declarationfunc triggerForChallenges() async
method · iOS 26.0+triggerForFriending
TypeScripttriggerForFriending(handler?: ((() => void)) | null): void
Swift declarationfunc triggerForFriending() async
method · iOS 26.0+triggerForPlayTogether
TypeScripttriggerForPlayTogether(handler?: ((() => void)) | null): void
Swift declarationfunc triggerForPlayTogether() async
method · iOS 18.0+trigger
TypeScripttriggerAchievementIDHandler(achievementID: string, handler?: ((() => void)) | null): void
Swift declarationfunc trigger(achievementID: String, handler: (() -> Void)? = nil)
method · iOS 26.0+trigger
TypeScripttriggerChallengeDefinitionIDHandler(challengeDefinitionID: string, handler?: ((() => void)) | null): void
Swift declarationfunc trigger(challengeDefinitionID: String) async
method · iOS 26.0+trigger
TypeScripttriggerGameActivityHandler53451(gameActivity: GKGameActivity, handler?: ((() => void)) | null): void
Swift declarationfunc trigger(gameActivity: GKGameActivity) async
method · iOS 26.0+trigger
TypeScripttriggerGameActivityDefinitionIDHandler47507(gameActivityDefinitionID: string, handler?: ((() => void)) | null): void
Swift declarationfunc trigger(gameActivityDefinitionID: String) async
method · iOS 14.0+trigger
TypeScripttriggerHandler(handler: (() => void)): void
Swift declarationfunc trigger(handler: @escaping () -> Void)
method · iOS 18.0+trigger
TypeScripttriggerLeaderboardIDPlayerScopeTimeScopeHandler(leaderboardID: string, playerScope: GKLeaderboard_PlayerScope, timeScope: GKLeaderboard_TimeScope, handler?: ((() => void)) | null): void
Swift declarationfunc trigger(leaderboardID: String, playerScope: GKLeaderboard.PlayerScope, timeScope: GKLeaderboard.TimeScope, handler: (() -> Void)? = nil)
method · iOS 18.0+trigger
TypeScripttriggerLeaderboardSetIDHandler(leaderboardSetID: string, handler?: ((() => void)) | null): void
Swift declarationfunc trigger(leaderboardSetID: String, handler: (() -> Void)? = nil)
method · iOS 18.0+trigger
TypeScripttriggerPlayerHandler(player: GKPlayer, handler?: ((() => void)) | null): void
Swift declarationfunc trigger(player: GKPlayer, handler: (() -> Void)? = nil)
method · iOS 14.0+trigger
TypeScripttriggerStateHandler(state: GKGameCenterViewControllerState, handler: (() => void)): void
Swift declarationfunc trigger(state: GKGameCenterViewControllerState, handler: @escaping () -> Void)
get · iOS 14.0+isActive
TypeScriptget isActive(): boolean
Swift declarationvar isActive: Bool { get set }
set · iOS 14.0+isActive
TypeScriptset isActive(value: boolean)
Swift declarationvar isActive: Bool { get set }
get · iOS 14.0+frameInScreenCoordinates
TypeScriptget frameInScreenCoordinates(): { x: number; y: number; width: number; height: number }
Swift declarationvar frameInScreenCoordinates: CGRect { get }
get · iOS 14.0+isPresentingGameCenter
TypeScriptget isPresentingGameCenter(): boolean
Swift declarationvar isPresentingGameCenter: Bool { get }
get · iOS 14.0+location
TypeScriptget location(): GKAccessPoint_Location
Swift declarationvar location: GKAccessPoint.Location { get set }
set · iOS 14.0+location
TypeScriptset location(value: GKAccessPoint_Location)
Swift declarationvar location: GKAccessPoint.Location { get set }
get · iOS 14.0+parentWindow
TypeScriptget parentWindow(): (_UIKit_UIWindow) | null
Swift declarationweak var parentWindow: UIWindow? { get set }
set · iOS 14.0+parentWindow
TypeScriptset parentWindow(value: (_UIKit_UIWindow) | null)
Swift declarationweak var parentWindow: UIWindow? { get set }
get · iOS 14.0+ · Deprecated in iOS 26.0showHighlights
TypeScriptget showHighlights(): boolean
Swift declarationvar showHighlights: Bool { get set }
set · iOS 14.0+ · Deprecated in iOS 26.0showHighlights
TypeScriptset showHighlights(value: boolean)
Swift declarationvar showHighlights: Bool { get set }
get · iOS 14.0+isVisible
TypeScriptget isVisible(): boolean
Swift declarationvar isVisible: Bool { get }
Skipped declarations
No declarations were skipped in this snapshot.
All GameKit types →