iDevGames Forums
API to show buy page? - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: API to show buy page? (/thread-801.html)

API to show buy page? - kendric - Aug 30, 2009 09:24 AM

Is there some sdk function that you can call in your lite version to take them to the app's buy page for the full version?

API to show buy page? - maximile - Aug 30, 2009 10:05 AM

[UIApplication openURL:url] with a URL to the App Store page. There are threads here with discussion on how to format App Store links so that they're opened straight away in the App Store. Can't remember whether the consensus was to use itms:// or http://

API to show buy page? - Bachus - Aug 30, 2009 01:34 PM

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@""]];

Make sure to switch the "" you get from iTunes to "". That will cause it to open the App Store directly instead of opening Safari and then the App Store.

API to show buy page? - kendric - Sep 10, 2009 11:16 AM

Bachus, that worked like a charm. Thanks