For instance, if someone views a URL for an app on the iPhone, we would like the URL to open the App Store and display the entry related to that app. The idea is to allow d
App Store uses the following url format for apps:
http://itunes.com/app/your-app-name
so you can use the following code to open the url:
- (void) buyButtonPressed{ NSURL *url = [NSURL URLWithString:@"http://itunes.com/app/your-app-name"]; [[UIApplication sharedApplication] openURL:url]; }