适用于iOS的StoreKit-订阅问题 [英] StoreKit for iOS - Subscriptions Question

查看:55
本文介绍了适用于iOS的StoreKit-订阅问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的测试应用程序中将新订阅模式与StoreKit一起使用,但是我有几个问题:

I am using the new subscription model with StoreKit in a test application of mine, but I have a few questions:

  • 如果用户取消订阅, 我如何得知的?还是我 我必须自己监视日期 (使用值transactionDate)

  • 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?

谢谢!

推荐答案

如果用户取消,则不会通知您.当您验证收据时,Apple应该为您提供最近订阅期的收据,其状态为0.如果不是这种情况,则该用户不再被订阅.

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.

这篇关于适用于iOS的StoreKit-订阅问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆