How to programmatically go to the application store (from the application)?

After clicking on UIView, I want to take the user of my application OUT of my application and another application to the application store. How to do it?

+5
source share
2 answers
NSString * buyString = @ "http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=APP_ID&mt=8";

NSURL * url = [[NSURL alloc] initWithString: buyString];
[[UIApplication sharedApplication] openURL: url];
[url release];

+13
source

Call

[[UIApplication sharedApplication] openURL:@"APP_STORE_URL_OF_EXISTING_APP"]

This will automatically close your application and launch the App Store app.

0

All Articles