سؤال

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 !

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top