转到iOS 6中的App Store评论

似乎使用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

亚历克斯

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...