Contents

achievementViewControllerDidFinish(_:)

Called when the user dismisses the achievements user interface.

Declaration

func achievementViewControllerDidFinish(_ viewController: GKAchievementViewController!)

Parameters

  • viewController:

    The achievement view controller whose interface 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.