To open the App Store from within an iPhone app, see the following example as the response to a button press:
- (IBAction)buyFullVersionButtonPressed {
- (IBAction)buyFullVersionButtonPressed {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://phobos.apple.com/WebObjects/MZ Store.woa/wa/viewSoftware?id=xxxxxxxxx" ]];
}
Replace "xxxxxxx" with your app's ID.
Replace "xxxxxxx" with your app's ID.
No comments:
Post a Comment