Instance Method

unregisterListener(_:)

Unregister a specific listener.

Declaration

func unregisterListener(_ listener: GKLocalPlayerListener)

Parameters

listener

A GKLocalPlayerListener object containing the listener to unregister.

See Also

Registering Listeners

func register(GKLocalPlayerListener)

Register a listener for a particular event.

func unregisterAllListeners()

Unregister all listeners in your game.