且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iPhone / iPad在应用程序评级?

更新时间:2022-02-23 03:38:52

我在博客文章这里写了这篇文章。该用户将被带到App Store应用程序,我不相信您可以在自己的应用程序中完成所有操作。

I wrote about it in a blog post here. The user will be taken to the App Store app and I don't believe you will be able to do all from within you own app.

这是它的要点

- (IBAction)gotoReviews:(id)sender
{
    NSString *str = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa";
    str = [NSString stringWithFormat:@"%@/wa/viewContentsUserReviews?", str]; 
    str = [NSString stringWithFormat:@"%@type=Purple+Software&id=", str];

    // Here is the app id from itunesconnect
    str = [NSString stringWithFormat:@"%@289382458", str]; 

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
}