Я думал, что один из них сделает это, ни один из них не будет назван -_-
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
{
NSLog(@"flag paymentQueue");
// spinner.hidden = YES; // куда это девается?
for (SKPaymentTransaction *transaction in transactions)
{
switch (transaction.transactionState)
{
case SKPaymentTransactionStatePurchasing:
// [self stillPurchasing]; // this creates an alertView and shows
NSLog(@"flag SKPaymentTransactionStatePurchasing");
break;
case SKPaymentTransactionStatePurchased:
NSLog(@"flag SKPaymentTransactionStatePurchased");
[self completeTransaction:transaction];
break;
case SKPaymentTransactionStateFailed:
NSLog(@"flag SKPaymentTransactionStateFailed");
[self failedTransaction:transaction];
break;
case SKPaymentTransactionStateRestored:
NSLog(@"flag SKPaymentTransactionStateRestored");
[self restoreTransaction:transaction];
// spinner.hidden=YES;
break;
спасибо !!!