How to send the user directly to the review page o

2019-03-09 05:09发布

Up to now (with iOS < 6.0), I used the following URL and code to send the user directly to the review page of my app (to rate it with 5 stars and post a friendly comment :)):

NSString *stringUrl = @"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=XXXXXXXX&pageNumber=0&sortOrdering=1&type=Purple+Software&mt=8";
NSURL *url = [NSURL URLWithString:stringUrl];
[[UIApplication sharedApplication] openURL:url];

This code doesn't work anymore when I run my app on a device with iOS 6 (and the new appstore of iOS 6). The appstore opens but then I have got an alert saying "Cannot connect to Appstore".

Anybody knows how to send the user directly to the review page of the Appstore on iOS 6 ? (note that I know how to send the user on the description of my app by this not what I want !)

Thanks !

2条回答
爷、活的狠高调
2楼-- · 2019-03-09 05:18

I guess apple almost fixed the issue, since it can go to the review page directly with the same address again. Users still need to tap the button of review on iOS6 after they are directed to the review page though.

查看更多
趁早两清
3楼-- · 2019-03-09 05:32

Use url like this

https://userpub.itunes.apple.com/WebObjects/MZUserPublishing.woa/wa/addUserReview?type=Purple+Software&id=561892747&mt=8&o=i

I found it on a link to "write a review" in Apple receipt email.

查看更多
登录 后发表回答