问题
I am using the new subscription model with StoreKit
in a test application of mine, but I have a few questions:
If the user cancels the subscription, how am I informed of this? Or do I have to monitor the date myself (using the value
transactionDate
)If the subscription is cancelled, the user can now longer restore this
purchase if the subscription is
expired right?
Thank you!
回答1:
You aren't informed if the user cancels. When you validate a receipt, Apple should give you a receipt for the most recent subscription period with a status of 0. If this isn't the case, the user is no longer subscribed.
The user can't restore an expired subscription.
来源:https://stackoverflow.com/questions/6526544/storekit-for-ios-subscriptions-question