如何测试为SKProductsRequest设置不同的语言环境 [英] How to test setting different locales for SKProductsRequest

查看:118
本文介绍了如何测试为SKProductsRequest设置不同的语言环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在iPhone应用程序中实现IAP,并且正在沙盒环境中工作。我有我的代码设置来处理由 SKProductsRequest 返回的 SKProducts 以获取定价信息。我想测试在不同的语言环境(例如欧元或日元)中检索价格值来测试我的格式代码。如何获取 SKProductsRequest 以返回不同的区域设置?

I am implementing IAP in an iPhone app and am working in the sandbox environment. I have my code setup to process SKProducts returned by an SKProductsRequest to get pricing information. I would like to test retrieving price values in different locales (e.g. Euros or Yen) to test my formatting code. How can I get SKProductsRequest to return different locales?

推荐答案

在这里回答我自己的问题。您可以通过在iTunes连接上的不同商店中创建IAP测试用户来测试这一点。

Answering my own question here. You can test this by creating IAP test users in different stores on iTunes connect.

这篇关于如何测试为SKProductsRequest设置不同的语言环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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