One Logo Pool Ball
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.0

loadReceivedChallenges

TypeScript
static loadReceivedChallenges(completionHandler?: (((arg0: (Array<GKChallenge>) | null, arg1: (NativeError) | null) => void)) | null): void
Swift declaration
class func loadReceivedChallenges() async throws -> [GKChallenge]
method · iOS 6.0+ · Deprecated in iOS 26.0

decline

TypeScript
decline(): void
Swift declaration
func decline()
init

init

TypeScript
static init(): GKChallenge
Swift declaration
init()
get · iOS 6.0+ · Deprecated in iOS 26.0

completionDate

TypeScript
get completionDate(): (globalThis.Date) | null
Swift declaration
var completionDate: Date? { get }
get · iOS 6.0+ · Deprecated in iOS 26.0

issueDate

TypeScript
get issueDate(): globalThis.Date
Swift declaration
var issueDate: Date { get }
get · iOS 8.0+ · Deprecated in iOS 26.0

issuingPlayer

TypeScript
get issuingPlayer(): (GKPlayer) | null
Swift declaration
@NSCopying var issuingPlayer: GKPlayer? { get }
get · iOS 6.0+ · Deprecated in iOS 8.0

issuingPlayerID

TypeScript
get issuingPlayerID(): (string) | null
Swift declaration
var issuingPlayerID: String? { get }
get · iOS 6.0+ · Deprecated in iOS 26.0

message

TypeScript
get message(): (string) | null
Swift declaration
var message: String? { get }
get · iOS 8.0+ · Deprecated in iOS 26.0

receivingPlayer

TypeScript
get receivingPlayer(): (GKPlayer) | null
Swift declaration
@NSCopying var receivingPlayer: GKPlayer? { get }
get · iOS 6.0+ · Deprecated in iOS 8.0

receivingPlayerID

TypeScript
get receivingPlayerID(): (string) | null
Swift declaration
var receivingPlayerID: String? { get }
get · iOS 6.0+ · Deprecated in iOS 26.0

state

TypeScript
get state(): GKChallengeState
Swift declaration
var state: GKChallengeState { get }

Skipped declarations

No declarations were skipped in this snapshot.

All GameKit types →