应用内购买,iOS 5和6之间有什么区别? [英] in-app purchase, any difference between iOS 5 and 6?

查看:218
本文介绍了应用内购买,iOS 5和6之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了一下,只发现了一个类似的问题,但没有得到很好的回答,我的也不一样,所以我在这里问。

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

我遵循了Troy IAP教程(http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/)并对我的IAP进行了编码,该IAP在iOS 6.0 Simulator或真正的非越狱测试设备中都能很好地工作。但是,当我在iOS 5.0 / 5.1模拟器(我没有5.x设备)中进行测试时,IAP流程经过了所有步骤进入付款队列并返回stateFailed。该程序可以在IAP 5.x上正常运行,除了IAP。

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.

有什么想法吗?谢谢。

推荐答案

我也遇到了同样的问题,可以在这里提出问题,我找到了这个答案。

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

您无法在iOS5模拟器中可靠地测试In App Purchase。您需要在设备上对其进行测试。

这篇关于应用内购买,iOS 5和6之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆