Reputation: 1
I am trying to show achievement title when the player earns that. I am doing it exactly like Apple's GKTapper sample:
NSLocalizedString(ach.identifier, NULL)
(ach is of type GKAchievement)
In GKTapper this line returns the title (e.g. "One tap!"). But in my own application, this returns the Achievement ID (e.g. com.companyname.gamename.achievementid)
My achievement reference name is "Jackpot!" and I only added one language (English). The title of the achievement in English is also "Jackpot!"
Thanks
Upvotes: 0
Views: 561
Reputation: 31
GKTapper uses a Localizable.strings file. Look for it in the resources folder.
NSLocalizedString(@"com.appletest.one_tap", NULL) is paired with @"Just One Tap";
(in the version of GKTapper I'm looking at)
Upvotes: 3