iOS APP 内部跳转 App Store

  1. APP 内部跳转 App Store下载APP页面
 NSURL *url = [NSURL URLWithString:@"https://itunes.apple.com/us/app/wechat/id414478124?mt=8"];
    
    if ([[UIApplication sharedApplication] canOpenURL:url]) {
        
        [[UIApplication sharedApplication] openURL:url];
    }

2 . APP 内部跳转 App Store APP评论页面

NSURL *url = [NSURL URLWithString:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=888237539"];
    if ([[UIApplication sharedApplication] canOpenURL:url]) {
        
        [[UIApplication sharedApplication] openURL:url];
}

只需要修改 成自己的 目标 APPID 即可

你可能感兴趣的:(iOS APP 内部跳转 App Store)