Having an issue while trying to implement In-App Purchase

Posted by Raymond on Stack Overflow See other posts from Stack Overflow or by Raymond
Published on 2012-11-18T16:52:09Z Indexed on 2012/11/18 17:00 UTC
Read the original article Hit count: 181

Filed under:
|
|
|
|

This is my first time to implement In-App purchase and I am using the tutorial located here: Ray Wenderlich

Now I am sure this is something simple, but I am having issues figuring out, so I figured I would ask all of the gurus out here.

The compiler is saying that _products is Use of undeclared identifier

 - (void)productPurchased:(NSNotification *)notification {

 NSString * productIdentifier = notification.object;
 [_products enumerateObjectsUsingBlock:^(SKProduct * product, NSUInteger idx, BOOL *stop) {
 if ([product.productIdentifier isEqualToString:productIdentifier]) {



 *stop = YES;
 }
 }];

 }

© Stack Overflow or respective owner

Related posts about iphone

Related posts about xcode