ios应用内跳转到appstore里评分

 NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=XXXXXXXXXX" ];

        if( ([[[UIDevice currentDevice] systemVersion] doubleValue]>=7.0)){

            str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/idXXXXXXXXXX"];

        }

        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];

 

id为iTunes Connect 中 app信息中的
Apple ID

posted @ 2016-06-12 11:23  秋棠枫眠  阅读(147)  评论(0编辑  收藏  举报