Contents

trigger(player:handler:)

Displays the Game Center dashboard in a state that shows a player profile.

Declaration

func trigger(player: GKPlayer, handler: (() -> Void)? = nil)

Parameters

  • player:

    The player to show in the dashboard.

  • handler:

    The block that GameKit calls after it displays the dashboard.

See Also

Managing the access point