iPhone in-app purchases
How do you test an in-app purchases before your app is submitted to Apple, let alone accepted or released开发者_运维技巧?
Apple docs have plenty of info but it's rather vague in places. You may try to read this:
http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/
Answer to self: RTFM and in particular be sure to test on the device, not in the simulator. Simulating in-app purchases explicitly does not work: The console reads " WARNING: SKPaymentQueue does not work in the simulator".
精彩评论