看來,使用itms-apps // .... URL方案在iOS 6中無法使用新的App Store顯示產品評論區域。現在我使用下面的代碼,但它只是向您顯示產品。您如何到達審覈區域以要求審覈並將用戶帶到所顯示產品的正確選項卡上?訪問App Store評論iOS 6
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);
}
});
}
也許你可以,但你不應該。如果一個應用程序嘮叨我「投我一票」,我會刪除它。在2012年的WWDC演講中,我記得這次「投我一票」是沒有好應用程序的其中一件事。只是我2美分。 – Krumelur