이 방법을 사용하여 모든 업적 설명을로드하고 있습니다.GKAchievementDescription에서 이미지를로드 할 수 있습니까?
[GKAchievementDescription loadAchievementDescriptionsWithCompletionHandler:
^(NSArray *descriptions, NSError *error) {
CCLOG(@"achivements loaded");
if (error != nil) {
NSLog(@"Error %@", error);
} else {
if (descriptions != nil){
CCLOG(@"nb %i",descriptions.count);
for (GKAchievementDescription* a in descriptions) {
CCLOG(@"image %@ %@ %@", a.title, a.achievedDescription, a.image);
[achievementsDescDictionary setObject: a forKey: a.identifier];
}
} else {
CCLOG(@"descriptions empty");
}
}
}];
나는 항상 a.image = null을 얻습니다.
감사합니다.