跳转到app评论页面

在APP里经常会引导用户给自己的应用评分,实现代码如下:

    NSString *appID = @"584215425"; // 用developer账户登陆itunes connect创建应用时会产生一个app id
    
    NSString *appURL = [NSString stringWithFormat:@"https://itunes.apple.com/cn/app/id%@?mt=8",appID];
    
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:appURL]];

猜你喜欢

转载自zhy584520.iteye.com/blog/1852110