似乎使用itms-apps // …. URL方案在iOS 6中不适用于新的App Store以显示产品评论区域.现在我正在使用下面的代码,但它只是向您展示产品.您如何到达审核区域以请求审核并将用户带到显示的产品的右侧选项卡?
void DoReview() { var spp = new StoreProductParameters(appId); var productViewController = new SKStoreProductViewController(); // must set the Finished handler before displaying the view controller productViewController.Finished += (sender2,err) => { // Apple's docs says to use this method to close the view controller this.navigationController.DismissViewController(true,null); MySettings.AskedForReview = true; }; productViewController.LoadProduct(spp,(ok,err) => { // ASYNC !!! if (ok) { this.navigationController.PresentViewController(productViewController,true,null); } else { Console.WriteLine(" failed "); if (err != null) Console.WriteLine(" with error " + err); } }); }
解决方法
你好,你可以试试
iRate from Nick Lockwood,看看是否符合你的需求,你可以找到
MonoTouch bindings of iRate here.
顺便说一下,它使用以下URL在审阅模式下打开AppStore:
itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id= your-AppID-here
亚历克斯