开发者

SKPaymentQueue canMakePayments always returns false

开发者 https://www.devze.com 2023-03-21 05:08 出处:网络
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

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

精彩评论

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