---
title: "loadReceivedChallenges(completionHandler:)"
framework: gamekit
role: symbol
role_heading: Type Method
path: "gamekit/gkchallenge/loadreceivedchallenges(completionhandler:)"
---

# loadReceivedChallenges(completionHandler:)

Loads the list of outstanding challenges.

## Declaration

```swift
class func loadReceivedChallenges(completionHandler: (@Sendable ([GKChallenge]?, (any Error)?) -> Void)? = nil)
```

```swift
class func loadReceivedChallenges() async throws -> [GKChallenge]
```

## Parameters

- `completionHandler`: The block that GameKit calls when it completes the request. The block receives the following parameters:
