开发者

SKPaymentQueue canMakePayments always returns false

I'm creating my second app with In App Purchase. Everything went great with the first app and it's up in the app store, however with the second app when I call [SKPaymentQueue canMakePayments] I'm always getting a result of false. I've done the same steps between app 1 and 2. Can anyone point out other things I need t开发者_运维问答o check?

thanks


Check that in-app purchases are allowed in Settings->General->Restrictions. This is one reason that SKPaymentQueue canMakePayments will return false.

EDIT for 2020: this is now located in Settings->Screen Time->Content & Privacy Restrictions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜