在App Purchase中“登录itunes商店”之后[[SKPaymentQueue defaultQueue] addTransactionObserver:self]; [英] In App Purchase "sign in to itunes store" after [[SKPaymentQueue defaultQueue] addTransactionObserver:self];
问题描述
可能重复:
SKPaymentQueue addTransactionObserver在应用内购买后在启动时询问App Store密码
我有一个问题,当我在appstore中购买我添加一个事务观察者时,问题是当我添加观察者时我得到一条消息来登录itunes商店,买东西,可能是最后的交易没有完成?
I have a problem, when I loadStore in app purchase I add a transaction observer, the problem is that when I add the observer I get a message to sign in to the itunes store, to buy something, does it may be that last transactions didn't finished?
推荐答案
实际上,我有同样的问题...但我可以告诉你,它只发生在我的一台iPad上,而不是另一台。 (它们都是4.3.3)。
Actually, I'm having the same problem... But I can tell you that it only happens on ONE of my iPads, and not the other. (They were both 4.3.3).
登录iTunes Store
如果您有Apple ID ,在这里用它登录。
AOL会员可以使用AOL用户名和密码登录。
[环境沙箱]
[取消] [购买]
Sign in to the iTunes Store
If you have an Apple ID, sign in with it here.
AOL members can sign in using there AOL username and password.
[Environment Sandbox]
[Cancel] [Buy]
傻苹果,如果我登录iTunes,如何测试我的应用?
Silly apple, how can I test my app if I'm logged into iTunes?
但即使我登录(购买),此对话框也会出现,每次启动我的应用程序并获取我的产品说明。然后,我看到我的沙箱登录。
But even if I login (Buy), this dialog appears EVERYTIME launch my app and fetch my product description. THEN, I see my sandbox login.
尝试恢复,它在第一次运行时消失了。令人困惑...
Tried a restore, and it disappeared for the first run. Perplexing...
=====
稍后:
似乎恢复设备(3次)修复了问题。我希望我能给你一个更具体的答案。但它对我有用。
LATER:
It seems that restoring the device (3 times) has fixed the problem. I wish I had a more concrete answer for you. But it worked for me.
=====
多一点:是的。每次Apple提示时都要登录。我最终赶上了积压的未完成交易。 (并在iTunes中删除我的旧测试帐户似乎是一种更快的方法来完成同样的事情。)
MUCH LATER: Yup. Signing-in every time when prompted by Apple did the trick. I eventually caught up with my backlog of incomplete transactions. (And deleting my old test accounts in iTunes seemed to be a faster way to accomplish the same thing.)
这篇关于在App Purchase中“登录itunes商店”之后[[SKPaymentQueue defaultQueue] addTransactionObserver:self];的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!