GameKit · IOS API REFERENCE
GKChallenge
class · iOS 6.0+ · Deprecated in iOS 26.0 · SDK 27.1
class GKChallenge
Members (11)
static · iOS 6.0+ · Deprecated in iOS 26.0loadReceivedChallenges
TypeScriptstatic loadReceivedChallenges(completionHandler?: (((arg0: (Array<GKChallenge>) | null, arg1: (NativeError) | null) => void)) | null): void
Swift declarationclass func loadReceivedChallenges() async throws -> [GKChallenge]
method · iOS 6.0+ · Deprecated in iOS 26.0decline
TypeScriptdecline(): void
Swift declarationfunc decline()
initinit
TypeScriptstatic init(): GKChallenge
Swift declarationinit()
get · iOS 6.0+ · Deprecated in iOS 26.0completionDate
TypeScriptget completionDate(): (globalThis.Date) | null
Swift declarationvar completionDate: Date? { get }
get · iOS 6.0+ · Deprecated in iOS 26.0issueDate
TypeScriptget issueDate(): globalThis.Date
Swift declarationvar issueDate: Date { get }
get · iOS 8.0+ · Deprecated in iOS 26.0issuingPlayer
TypeScriptget issuingPlayer(): (GKPlayer) | null
Swift declaration@NSCopying var issuingPlayer: GKPlayer? { get }
get · iOS 6.0+ · Deprecated in iOS 8.0issuingPlayerID
TypeScriptget issuingPlayerID(): (string) | null
Swift declarationvar issuingPlayerID: String? { get }
get · iOS 6.0+ · Deprecated in iOS 26.0message
TypeScriptget message(): (string) | null
Swift declarationvar message: String? { get }
get · iOS 8.0+ · Deprecated in iOS 26.0receivingPlayer
TypeScriptget receivingPlayer(): (GKPlayer) | null
Swift declaration@NSCopying var receivingPlayer: GKPlayer? { get }
get · iOS 6.0+ · Deprecated in iOS 8.0receivingPlayerID
TypeScriptget receivingPlayerID(): (string) | null
Swift declarationvar receivingPlayerID: String? { get }
get · iOS 6.0+ · Deprecated in iOS 26.0state
TypeScriptget state(): GKChallengeState
Swift declarationvar state: GKChallengeState { get }
Skipped declarations
No declarations were skipped in this snapshot.
All GameKit types →