使用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);
}
});
}
答案 0 :(得分:1)
您好,您可以尝试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
亚历