ios7下评论的链接

ios7下评论的链接有所变化:
// 获取评论链接
+ (NSURL *)appCommentURLWithID:(NSString *)appID {
    NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@", appID];
    if (iOS7__) {
        str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@",appID];
    }
    NSURL *url = [NSURL URLWithString:str];
    return url;
}


ax.itunes.apple.com这个在ios7下无效了~

你可能感兴趣的:(ios7下评论的链接)