开发者

iTunes review URL

An old post discussed how to send iPhone app users to an app store rev开发者_运维百科iew page directly

However, the link template:

https://userpub.itunes.apple.com/WebObjects/MZUserPublishing.woa/wa/addUserReview?id=337064413&type=Purple+Software

is no longer works in iOS 4.3. Does any know how to link user to the review page in iTunes directly?


Try this

NSString *str = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=337064413"; //replace the id param's value with your App's id

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


Also works with PhoneGap/Cordova:

  • "itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=337064413";

or

  • "http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?pageNumber=0&sortOrdering=1&type=Purple+Software&mt=8&id=337064413"

replace the id param's value with your App's id


Now that Cordova/PhoneGap uses the plugin InAppBrowser for links, the correct syntax is:

window.open("itms-apps://itunes.apple.com/us/app/scorekeepr-free/id490888743?ls=1&mt=8","_system");

This was tested in a real app with Cordova-iOS 2.3.0rc2 on an iPad running iOS 5.1

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜