开发者

Download new app from within an iPhone-app

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-ver开发者_JAVA技巧sion, 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!


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"]];


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").


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜