Class GKAchievement Description
An object holding text and images used to describe an achievement for an app.
iOS 4.1+ macOS 10.8+ Mac Catalyst 13.0+ tvOS 9.0+ watchOS 3.0+ Declaration @interface GKAchievementDescription :
When you develop your game, you create localized achievement descriptions in App Store Connect. At runtime, your game retrieves these descriptions from Game Center. Usually your game downloads the achievement descriptions when it wants to present a custom achievement user interface to the player.
To retrieve a set of achievement description objects for your game, call the
class method. For performance reasons, achievement images are downloaded separately. To download am achievement description’s completion image, call that object’s load Achievement Descriptions With Completion Handler: method. load Image With Completion Handler:
and incomplete Achievement Image class methods provide standard images your game can use to present achievement progress to the player. placeholder Completed Achievement Image Topics Retrieving Achievement Descriptions Reading and Writing Achievement Properties identifier
A unique string used to identify the achievement.
A localized title for the achievement.
A localized description of the achievement to be used when the local player has not completed the achievement.
A localized description to be used after the local player has completed the achievement.
The number of points the player earns by completing this achievement.
An image to display for the completed achievement.
A Boolean value that states whether this achievement is initially visible to players.
A Boolean value that states whether this achievement can be earned multiple times.
Working with Achievement Images Retrieving Group Information group Identifier
The identifier for the group the achievement description is part of.
See Also Achievements GKAchievement
An object that communicates with Game Center about the local player’s progress toward completing an achievement.