---
title: "shouldShowBanner(forRemotelyCompletedChallenge:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkchallengeeventhandlerdelegate/shouldshowbanner(forremotelycompletedchallenge:)"
---

# shouldShowBanner(forRemotelyCompletedChallenge:)

Called to determine whether a banner should be shown when a remote player completes a challenge.

## Declaration

```swift
optional func shouldShowBanner(forRemotelyCompletedChallenge challenge: GKChallenge!) -> Bool
```

## Parameters

- `challenge`: The completed challenge.

## Return Value

Return Value Your delegate should return true if it wants a banner to be displayed. Otherwise it should return false.

## Discussion

Discussion If you do not implement this method, a banner is always shown.

## See Also

### Responding to Challenges Issued by the Local Player

- [remotePlayerDidComplete(_:)](gamekit/gkchallengeeventhandlerdelegate/remoteplayerdidcomplete(_:).md)
