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

swift - iOS extract renew date for a subscription - Stack Overflow

programmeradmin5浏览0评论

I am developing an iOS application which offers in app purchases in the form of subscriptions. I want to extract the renew date and the free trial end date of a given active subscription, if possible.

During the development I found that the Transaction object in StoreKit2 has expirationDate in addition the Transaction has a subscriptionStatus that in turn has renewalInfo. From it I can extract renewalDate.

My question is which of the two should I use and what is the difference?

发布评论

评论列表(0)

  1. 暂无评论