使用链接 -> itms-apps://itunes.apple.com/app/id\(appID)&mt=8
并在末尾加上一个 get 参数:?action=write-review
,这是可能的。
let appReviewURL = "itms-apps://itunes.apple.com/app/id\(appID)?action=write-review&mt=8"
print(appReviewURL)
UIApplication.shared.open(URL(string:appReviewURL)!,options: [:])
这应该启动指定的"appID"的"撰写评论"页面。
http://itunes.com/apps/<APP_NAME>
然后像这样打开:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:itunesURLString]];