iPhone 的应用程序购买与 iPad 的不同

发布于 12-26 04:41 字数 115 浏览 1 评论 0原文

如何为不同的设备类型提供不同的应用内购买?

我认为这实施起来相当简单,但是允许吗?

想象一下应用程序中的一个按钮触发应用内购买,iPad 上为 1.99,iPhone 上为 0.99。

How to offer different in-app-purchases for different device types?

I assume this is rather simple to implement, but is it allowed?

Imagine a button in the app triggering an in-app-purchase for 1,99 on the iPad and 0,99 on the iPhone.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

失与倦"2025-01-02 04:41:49

由于我们似乎无法通过 iTunes Connect 为不同设备设置不同的产品价格(因此没有发送任何信息),我相信您必须创建不同的应用内购买项目 - 不同的产品 ID,特别是对于每个设备。

例如,

参考名称:产品 A
产品 ID:com.companyname.productAForIPhone
价格0.99

参考名称:产品A(从你的问题来看,你希望它是相同的名称,只是iPad的价格不同)
产品 ID:com.companyname.productAForiPad
价格 1.99

然后只需检测用户正在使用的设备并将正确的产品 ID 发送到应用商店即可。

Since there seems to be no way for us to set a different product price for different devices via iTunes Connect, (hence no info sent over) I believe that you would have to create a different in-app purchase item - different product ID, specifically for each device.

For example,

Reference Name: Product A
Product ID: com.companyname.productAForIPhone
Price 0.99

Reference Name: Product A (As it seems from your question that you want it to be of the same name, just different price for iPad)
Product ID: com.companyname.productAForIPad
Price 1.99

Then just detect the device that the user is using and just send the correct product ID to the app store.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文