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.
精彩评论