Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
SwiftyStoreKit.restorePurchases(atomically: true) { result in
for product in result.restoredPurchases {
if product.needsFinishTransaction {
if product.productId == "プロダクトID1" {
// プロダクトID1のリストア後の処理を記述する
} else if product.productId == "プロダクトID2" {
// プロダクトID2のリストア後の処理を記述する
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.