从 iPhone 应用程序中下载新应用程序

发布于 2024-08-20 19:37:09 字数 183 浏览 8 评论 0原文

我开发了一款游戏,并计划制作该游戏的“Lite”版本,以推广该游戏的“Premium”版本。有关如何进行应用内购买的信息很容易找到。但我找不到的是如何在购买后从我的 Lite 版本中实际下载该应用程序。我不打算将精简版更新为高级版,而是将高级版视为必须下载的新应用程序。

我该怎么做,在哪里可以找到这些信息?

提前致谢!

I have developed a game and are planning to make a "Lite" version of that game in order to promote the "Premium" version of the game. Information about how to make In-App-Purchase is easy to find. But what I cannot find is how to actually download the application from within my Lite-version, after the purchase. I do not intend to update the lite version to a preimum version but instead treat the premium version as a new application that must be downloaded.

How do I do that, and where can I find that information?

Thanks in advance!

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

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

发布评论

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

评论(4

不弃不离 2024-08-27 19:37:09

“应用程序内购买”和“新应用程序”的概念是相互排斥的。

最简单的方法就是让人们在 iTunes 商店中导航到您的新应用程序,然后让他们决定是否从那里购买:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.itunes.com/apps/yourPaidVersionAppName"]];

The concepts "in app purchase" and "new application" are mutually exclusive.

The easiest thing to do is just let people navigate to your new app on the itunes store, and let them decide whether or not to buy it from there:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.itunes.com/apps/yourPaidVersionAppName"]];
勿挽旧人 2024-08-27 19:37:09

调用下一行会产生魔力:

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://link_to_your_full_application_in_appstore"]];

您可以在 UI 中使用一个按钮,一旦用户触摸它即可从上面调用该行(在填写我们应用程序的确切 URL 之后 - 正如另一个答案中提到的,它可能是 @"< a href="http://www.itunes.com/apps/your_app_name" rel="nofollow noreferrer">http://www.itunes.com/apps/your_app_name" 甚至更好 @"http://www.itunes.com/apps/your_name/your_app_name")。

Calling the next line would do the magic:

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://link_to_your_full_application_in_appstore"]];

You might use a button in your UI and once the user touches it to call the line from above (after filling the exact URL of our app - as mentioned in another answer it could be @"http://www.itunes.com/apps/your_app_name" or even better @"http://www.itunes.com/apps/your_name/your_app_name").

且行且努力 2024-08-27 19:37:09

您无法在您的应用程序中下载新的应用程序。我认为您对应用内购买所能做的就是

  • 启用一些额外的功能,
  • 让用户下载一些额外的内容

您还可以提供完整版本的 itunes 链接,以便您能够在完整版本页面上打开标准应用程序商店应用程序,让用户下载它。

You cannot download new application within your app. I think all you can do with in-app purchase is

  • enable some extra features
  • let user download some extra contents

You can also provide a itunes link to your full version so you will be able to open the standard appstore application on your full version page and let user download it.

小巷里的女流氓 2024-08-27 19:37:09

据我所知,你不能。这不需要应用内购买,而是需要在 AppStore 上提供应用的另一个版本。这违背了能够使用应用内购买将现有精简版升级到成熟版本的意义。

可以下载新内容包,但显然您必须拥有自己的托管空间。

创建应用程序的一个版本肯定要容易得多吗?默认情况下是残缺的,可以通过应用内购买进行升级。

As far as I know, you can't. That wouldn't require in-app purchase, but another version of your app up on the AppStore. Which defeats the point of being able to use in-app purchase to upgrade an existing Lite version to the full-blown one.

Downloads of new content packs is achievable, but you will have to have your own hosting for that obviously.

Surely creating one version of your app is far easier? Crippled by default, and upgradeable through in-app purchase.

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