Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我面临一个奇怪的问题。当用户在应用内购买中按下取消按钮时,弹出窗口会隐藏,但当他再次按下取消按钮时,弹出窗口会出现两次。这正在被 100% 复制。有什么建议么?
它可能正在实施中的某个地方
[[SKPaymentQueue defaultQueue] finishTransaction:transaction];
在调用 SKPaymentTransactionStatePurchased 之后。如果您期待更多帮助,也许您应该首先显示您的代码。