이는 인앱 구매를 구현하기 위해 내 처음 앱내 구현하는 동안 문제를 가졌 내가 여기있는 튜토리얼을 사용하고 있습니다 : Ray Wenderlich는 구매
가 지금은 확신이 간단하게 뭔가를하지만 알아내는 데 문제가있어서 여기있는 모든 전문가에게 물어볼 것이라고 생각했습니다.
는 컴파일러는 _products이 선언되지 않은 식별자
- (void)productPurchased:(NSNotification *)notification {
NSString * productIdentifier = notification.object;
[_products enumerateObjectsUsingBlock:^(SKProduct * product, NSUInteger idx, BOOL *stop) {
if ([product.productIdentifier isEqualToString:productIdentifier]) {
*stop = YES;
}
}];
}
좋은 튜토리얼이지만 IOS6 용으로 업데이트되지 않았습니다. – Raymond