您正在使用的非常奇怪的链接。我用:
http://itunes.apple.com/app/id<APP_ID>?mt=8
一切正常...
在支持 iOS6 及以上的应用中,我建议进一步使用 StoreKit,这样您就可以在 App Store 中显示您的应用页面,而无需离开您的应用。你可以这样做:
- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController
{
[viewController dismissViewControllerAnimated:YES completion:nil];
}
- (void)showAppWithIdentifier:(NSNumber *)identifier
{
if ([SKStoreProductViewController class]) {
SKStoreProductViewController *controller = [[SKStoreProductViewController alloc] init];
controller.delegate = self;
[controller loadProductWithParameters:@{ SKStoreProductParameterITunesItemIdentifier : identifier }
completionBlock:NULL];
[self presentViewController:controller animated:YES completion:nil];
return;
}
// Fall back to opening App Store for iOS 5.
... open the link as you are already doing
}