[[SKPaymentQueue defaultQueue] RestoreCompletedTransactions] 的取消事件
Apple 发布了 StoreKit,当用户输入其电子邮件和密码时,我们甚至无法获得取消事件的任何回调:
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions]
此事件不应与取消购买时推送取消相混淆。。
我们感兴趣的事件是在尝试恢复事务时推送取消。。
用户按下“取消”,甚至按下“确定”按钮,都不会发生回调。
您收到的唯一回调是当服务器返回信息指示操作是否成功时。不可接受的。
Apple released the StoreKit and we cannot even get any callbacks for the cancel event when a user puts in his/her email and password for:
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions]
This event should not be confused with pushing cancel when cancelling a purchase.
The event we're interested in is pushing cancel when trying to restore transactions.
There are no callbacks for a user pushing cancel, or even pushing the OK button.
The only call back you get is when the information from the server comes back indicating if it was successful or not. Unacceptable.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个:
Try this one: