Contents

shouldShowBanner(forLocallyCompletedChallenge:)

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

Declaration

optional func shouldShowBanner(forLocallyCompletedChallenge 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 Completed By the Local Player