in-app purchase, any difference between iOS 5 and 6?

白昼怎懂夜的黑 提交于 2020-01-06 07:33:11

问题


I searched, only found a similar question, which was not quite answered, and mine is not the same, so I ask here.

I followed Troy IAP tutorial (http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/) and coded my IAP, which works well in iOS 6.0 Simulator or real non-jail-break testing device. However, when I tested in iOS 5.0/5.1 Simulator (I don't have 5.x device), IAP process went through all steps to payment queue and returned stateFailed. The program otherwise runs well in iOS 5.x, except IAP.

Any idea? Thanks.


回答1:


i also face same issue and yes ask question here and i found this answer.

You cannot reliably test In App Purchase in the iOS5 Simulator. You need to test it on a device.



来源:https://stackoverflow.com/questions/13597263/in-app-purchase-any-difference-between-ios-5-and-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!