Instance Property

hidden

A Boolean value that states whether this achievement is initially visible to players.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
@property(getter=isHidden, assign, readonly, nonatomic) BOOL hidden;
macOS
@property(getter=isHidden, assign, readonly, atomic) BOOL hidden;

Discussion

If the value of this property is NO, this achievement is always visible to the player. If YES, the achievement is not displayed in any of the standard achievement user interface screens. It remains hidden until the first time your game reports progress towards completing this achievement.

See Also

Reading and Writing Achievement Properties

identifier

A unique string used to identify the achievement.

title

A localized title for the achievement.

unachievedDescription

A localized description of the achievement to be used when the local player has not completed the achievement.

achievedDescription

A localized description to be used after the local player has completed the achievement.

maximumPoints

The number of points the player earns by completing this achievement.

image

An image to display for the completed achievement.

replayable

A Boolean value that states whether this achievement can be earned multiple times.