<!--
{
  "availability" : [
    "iOS: 6.0.0 - 14.0.0",
    "iPadOS: 6.0.0 - 14.0.0",
    "macCatalyst: 13.1.0 - 14.0.0",
    "macOS: 10.10.0 - 11.0.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKScore/report(_:withEligibleChallenges:withCompletionHandler:)-3c5lh",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKScore(cm)reportScores:withEligibleChallenges:withCompletionHandler:"
  },
  "title" : "report(_:withEligibleChallenges:withCompletionHandler:)"
}
-->

# report(_:withEligibleChallenges:withCompletionHandler:)

Submits a list of scores and all eligible challenges.

```
class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
```

## Parameters

`scores`

An array of scores to report.

`challenges`

An array of challenges that GameKit associates with the reported scores.

`completionHandler`

A block that GameKit calls when the download completes.

    The block receives the following parameter:

- *error*: If an error occurred, this object describes the error. If the operation completed successfully, this value is `nil`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)