Contents

loadChallengeDefinitions(completionHandler:)

Loads all the challenge definitions for the current game, returns an empty array if none exist.

Declaration

class func loadChallengeDefinitions(completionHandler: @escaping  @Sendable ([GKChallengeDefinition]?, (any Error)?) -> Void)
class var all: [GKChallengeDefinition] { get async throws }

Discussion