---
title: "report(_:withEligibleChallenges:withCompletionHandler:)"
framework: gamekit
role: symbol
role_heading: Type Method
path: "gamekit/gkscore/report(_:witheligiblechallenges:withcompletionhandler:)-3c5lh"
---

# report(_:withEligibleChallenges:withCompletionHandler:)

Submits a list of scores and all eligible challenges.

## Declaration

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

```swift
class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge]) async throws
```

## 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:

## See Also

### Reporting a New Score

- [report(_:withEligibleChallenges:withCompletionHandler:)](gamekit/gkscore/report(_:witheligiblechallenges:withcompletionhandler:)-2tycl.md)
- [report(_:withCompletionHandler:)](gamekit/gkscore/report(_:withcompletionhandler:).md)
