views:

159

answers:

1

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

+1  A: 

Try to implement also - (void)request:(SKRequest *)request didFailWithError:(NSError *)error method - may be there're some errors in processing of your requests.

Vladimir
thanks Vladmir..... i get problem that is due to internet connection problem in my device
jeeva
i tried that method also due to sever problem no call back that time
jeeva