开发者

iPhone/iPad In app rating?

开发者 https://www.devze.com 2023-01-14 05:39 出处:网络
I have seen that some apps have a option for t开发者_运维知识库he user to rate their app from within the app. Anyone here knows how to do that?

I have seen that some apps have a option for t开发者_运维知识库he user to rate their app from within the app. Anyone here knows how to do that?

Thank you Søren


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.

This is the gist of it

- (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]];
}
0

精彩评论

暂无评论...
验证码 换一张
取 消