最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

swift - StoreKit transactions status - Stack Overflow

programmeradmin8浏览0评论

I'm building my first Swift app, and I'm working with in app purchases with storeKit2.

I find a bit confusing the workflow with this tool, and I still don't really get how subscriptions work.

Is there any method on StoreKit Transaction object to check if a subscription has been cancelled (not renew on expire date), or I have to check via currentEntitlements?

The only way I find to check this via currentEntitlements, is to check if the Transaction exists and today's date is < than transaction.expirationDate.

Can anyone tell me if there is any workflow to check the status of Transactions in Swift StoreKit?

发布评论

评论列表(0)

  1. 暂无评论