---
title: "remotePlayerDidComplete(_:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkchallengeeventhandlerdelegate/remoteplayerdidcomplete(_:)"
---

# remotePlayerDidComplete(_:)

Called when a remote player completes a challenge issued by the local player.

## Declaration

```swift
optional func remotePlayerDidComplete(_ challenge: GKChallenge!)
```

## Parameters

- `challenge`: The completed challenge.

## See Also

### Responding to Challenges Issued by the Local Player

- [shouldShowBanner(forRemotelyCompletedChallenge:)](gamekit/gkchallengeeventhandlerdelegate/shouldshowbanner(forremotelycompletedchallenge:).md)
