Instance Method

shouldShowBanner(forLocallyReceivedChallenge:)

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

Declaration

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

Parameters

challenge

The received 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 When a New Challenge is Received

func localPlayerDidReceive(GKChallenge!)

Called when the local player receives a new challenge.

Deprecated