iOS APP 内部跳转 App Store

作者: WS_0909 | 来源:发表于2017-06-01 11:03 被阅读0次
    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

        本文链接:https://www.haomeiwen.com/subject/ibisfxtx.html