productsRequest response method is not calling

Posted by jeeva on Stack Overflow See other posts from Stack Overflow or by jeeva
Published on 2010-04-28T11:12:24Z Indexed on 2010/04/28 11:23 UTC
Read the original article Hit count: 358

Filed under:
|
|

Hi

i am implementing in app purchase i am sending request to apple store through

- (void) requestProductData
{
 SKProductsRequest *request= [[SKProductsRequest alloc] initWithProductIdentifiers:
         [NSSet setWithObjects: featureAId,featureBId,nil]]; // add any other product here
 request.delegate = self;
 [request start];
}

the response method

- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
{
 [purchasableObjects addObjectsFromArray:response.products];
}

is not getting call at all. only once it called out of ten attempts i tried.

any idea regarding this..? thanks in advance

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about iphone