leaderboardViewControllerDidFinish(_:)
Called when the leaderboard view is dismissed.
Declaration
func leaderboardViewControllerDidFinish(_ viewController: GKLeaderboardViewController!)Parameters
- viewController:
The leaderboard view controller that was dismissed by the player.
Discussion
Your delegate should dismiss the view controller. If your game paused any gameplay or other activities, it can restart those services in this method.