Contents

shouldShowBanner(forRemotelyCompletedChallenge:)

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

Declaration

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

Parameters

  • challenge:

    The completed challenge.

Return Value

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

Discussion

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

See Also

Responding to Challenges Issued by the Local Player