It seems that using the itms-apps // .... URL scheme doesnโt work in iOS 6 with the new app store to show the product review area. Now I use the code below, but it just shows you the product. How do you get into the review area to ask for a review and transfer the user to the desired tab of the displayed product?
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 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); } }); }
source share