iOS应用跳转到appstore评分

2017-12-08  本文已影响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

上一篇 下一篇

猜你喜欢

热点阅读