美文网首页
iOS应用跳转到appstore评分

iOS应用跳转到appstore评分

作者: 袁俊亮技术博客 | 来源:发表于2017-12-08 18:01 被阅读76次

iOS应用跳转到appstore评分

标签(空格分隔): IOS


  1. 跳转到应用评价页
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]];
  1. 跳转到应用详情页
NSString *urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@", APPID];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlStr]];

appid是在iTunesConnect创建应用时自动生成的ID

原文地址:http://www.jianshu.com/p/8d9c5a155468

相关文章

网友评论

      本文标题: iOS应用跳转到appstore评分

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