In my iOS application, I’ve 3 products where users can purchase using in-app purchase.
From my iOS application, i just want to get the price of all the 3 items that are on the apple server.
How can I get only the price without user’s intervention. (May be i’ve to handle in view did load or some method)
In my iOS application, I’ve 3 products where users can purchase using in-app purchase.
Share
You don’t need any user intervention to get any product info. All you have to do is to send a product request info and implement a callback method that’ll handle the response as shown below (the example has been taken from http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/):
Just call requestProUpgradeProductData from viewDidLoad.