優れた MKStoreKit を使用して、非消耗品の復元購入ボタンを実装しようとしています。
復元ボタンに次のコードがあります。
[[MKStoreManager sharedManager] restorePreviousTransactionsOnComplete:^{
[_priceLabel completeWithText:NSLocalizedString(@"App restored :)", @"")];
} onError:^(NSError *error) {
[_priceLabel completeWithText:NSLocalizedString(@"Unable to restore", @"")];
}];
完了ブロックは正しく呼び出されますが、呼び出すと
[MKStoreManager isFeaturePurchased:@"com.myapp.pro"]
私はNOを取得します。明らかな何かが欠けているように感じますか?