美文网首页
APP跳转AppStore

APP跳转AppStore

作者: Sunsgne丶D | 来源:发表于2017-06-20 17:05 被阅读0次
    //去评分
    NSString *APPID = @"your appid";
    NSString *urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@&pageNumber=0&sortOrdering=2&mt=8", APPID];
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlStr]];
    
    //详情
    NSString *urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@", APPID];
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlStr]];
    

    相关文章

      网友评论

          本文标题:APP跳转AppStore

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