As you know that, In-App Purchase can be turned on and off from Settings->General->Restrictions. Now i am wondering, is there any way to check the status of of In-App Purchase programmatically, before we actually make any payment.
iPhone: Check In-App Purchase status Programmatically
1.5k Views Asked by Ansari At
2
I've got the solution in SKPaymentQueue class. I am using the "canMakePayments" method to check the restrictions on In-App Purchases.
From Apple Documentation:
SKPaymentQueue Class Reference: canMakePayments
Sample Code: