I am getting down to the last programming on my little app and I am using the standard StoreKit code as follows:
- (void) paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions {
for (SKPaymentTransaction *transaction in transactions)
{
switch ( transaction.transactionState )
{
case SKPaymentTransactionStatePurchased:
[ self completeTransaction: transaction ];
break;
case SKPaymentTransactionStateFailed:
[ self failedTransaction: transaction ];
break;
case SKPaymentTransactionStateRestored:
[ self restoreTransaction: transaction ];
break;
default:
break;
}
}
}
I am getting a MyStoreObserver may not respond to completeTransaction, failedTransaction or restoreTransaction. BTW, I have set up the MyStoreObserver as both h and m files.
The program works fine and StoreKit works fine. I am just trying to figure out what may be causing this warning so I can something to my code to make it go away.
Any ideas?