34,333
edits
Changes
m
Text replacement - "<google>BUY_IOS7</google>" to "<htmlet>ios9_upgrade</htmlet>"
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
}
</pre>
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
When the user decides to purchase Level 2 access, the getProductInfo method of the PurchaseViewController instance will be called by the InAppDemoViewController instance. Passed as an argument to this method will be a reference to the InAppDemoViewController instance which needs to be saved in the previously declared homeViewController property. It will then be the job of the getProductInfo method to contact the App Store and get product information for the specified ID. The code for this belongs in PurchaseViewController.m and reads as follows:
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>