---
title: "loadChallengableFriends(completionHandler:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gklocalplayer/loadchallengablefriends(completionhandler:)"
---

# loadChallengableFriends(completionHandler:)

Loads players to whom the local player can issue a challenge.

## Declaration

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

```swift
func loadChallengableFriends() async throws -> [GKPlayer]
```

## Parameters

- `completionHandler`: A block that GameKit calls when this method loads players the local player can challenge. The block receives the following parameters:

## See Also

### Accessing Friends and Recents

- [loadFriendsAuthorizationStatus(_:)](gamekit/gklocalplayer/loadfriendsauthorizationstatus(_:).md)
- [GKFriendsAuthorizationStatus](gamekit/gkfriendsauthorizationstatus.md)
- [loadFriends(_:)](gamekit/gklocalplayer/loadfriends(_:).md)
- [loadFriends(identifiedBy:completionHandler:)](gamekit/gklocalplayer/loadfriends(identifiedby:completionhandler:).md)
- [NSGKFriendListUsageDescription](bundleresources/information-property-list/nsgkfriendlistusagedescription.md)
- [loadRecentPlayers(completionHandler:)](gamekit/gklocalplayer/loadrecentplayers(completionhandler:).md)
