iOS Developer Library

Developer

GameKit Framework Reference GKAchievementChallenge Class Reference

Options
Deployment Target:

On This Page
Language:

GKAchievementChallenge

A GKAchievementChallenge is a challenge to a player to complete a specific achievement.

Inheritance


Import Statement


Swift

import GameKit

Objective-C

@import GameKit;

Availability


Available in iOS 6.0 and later.
  • The achievement the player must complete. (read-only)

    Declaration

    Swift

    var achievement: GKAchievement! { get }

    Objective-C

    @property(nonatomic, readonly, retain) GKAchievement *achievement

    Import Statement

    Objective-C

    @import GameKit;

    Swift

    import GameKit

    Availability

    Available in iOS 6.0 and later.