API to show buy page?

Member
Posts: 306
Joined: 2009.03
Post: #1
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?
Quote this message in a reply
Member
Posts: 283
Joined: 2006.05
Post: #2
[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://
Quote this message in a reply
Member
Posts: 269
Joined: 2005.04
Post: #3
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=MYAPPSTOREID&mt=8"]];

Make sure to switch the "itunes.apple.com" you get from iTunes to "phobos.apple.com". That will cause it to open the App Store directly instead of opening Safari and then the App Store.
Quote this message in a reply
Member
Posts: 306
Joined: 2009.03
Post: #4
Bachus, that worked like a charm. Thanks
Quote this message in a reply
Post Reply