伙计们,我正在使用下面的代码。Xcode 拒绝编译最后一行。我得到:
“错误:预期':'在'。'之前 令牌”
在最后一行。无法弄清楚是什么问题...
- (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];
}