Contents

trigger(achievementID:handler:)

Displays the Game Center dashboard in a state that shows a specific achievement.

Declaration

func trigger(achievementID: String, handler: (() -> Void)? = nil)

Parameters

  • achievementID:

    The identifier for the achievement.

  • handler:

    The block that GameKit calls after it displays the dashboard.

See Also

Managing the access point