Guys I'm using the code below. Xcode refuses to compile the last line. I get:
"error: expected ':' before '.' token"
on the last line. Can't figure out what is wrong...
- (void) failedTransaction: (SKPaymentTransaction *)transaction
{
if (transaction.error.code != SKErrorPaymentCancelled)
{
// Optionally, display an error here.
}
[[SKPaymentQueue defaultQueue] finishTransaction: transaction];
[UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
[SelectorController.tableView reloadData];
}