2012-10-12 51 views
4

看來,使用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); 
      } 
     }); 
    } 
+0

也許你可以,但你不應該。如果一個應用程序嘮叨我「投我一票」,我會刪除它。在2012年的WWDC演講中,我記得這次「投我一票」是沒有好應用程序的其中一件事。只是我2美分。 – Krumelur

回答

1

你好,你可以嘗試iRate from Nick Lockwood,看看是否適合你的需要,你可以找到MonoTouch bindings of iRate here

BTW它使用以下網址在審覈模式下打開AppStore的:

ITMS-應用://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews類型=紫+軟件& ID =您的-的AppID-這裏

亞歷

+0

謝謝,itms-apps鏈接似乎不適用於iOS 6,這正是我以前使用的。 – Neal

+0

嗯,很奇怪,我使用iRate自己測試它,它按預期工作,它需要我在iOS 6 – dalexsoto

+0

下查看我自己的應用程序的區域謝謝,我會再次檢查。 – Neal