Friday, June 1, 2012

Open App Store from iPhone App


To open the App Store from within an iPhone app, see the following example as the response to a button press:

- (IBAction)buyFullVersionButtonPressed {
[[UIApplication sharedApplicationopenURL:[NSURL URLWithString:@"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=xxxxxxxxx"]];
}

Replace "xxxxxxx" with your app's ID.

No comments:

Post a Comment