iDevGames Forums

Full Version: gamecenter hidden achievement is visible
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have 4 achievement in gamecenter, 2 hidden (i checked hidden in itunesconnect), but in simulator and in device they are visible... im i missing something?
and this code says always "visible"
Code:
if(achievement!= NULL)
        {
            [achievement reportAchievementWithCompletionHandler: ^(NSError *error){
                if(error != nil){
                    NSLog(@"Achievement failed %@",achievementIdentifier);
                } else {
                    NSLog(@"Achievement Success %@",achievementIdentifier);
                    NSLog(@"%@",achievement.hidden?@"hide":@"visible");
                }
                
            }];
        }
in apple dev center i have seen:
When you report progress to Game Center, two things happen:

If the achievement was previously hidden, it is revealed to the player. The achievement is revealed even if your player has made no actual progress on the achievement (a percentage of 0.0).
so...at the end of the game i report achievement to gamecenter, then the player clicks on achievement button, and he could see the hidden achievement even if it is not reached...???
how can i mantain hidden this achievement?
Reference URL's