程序点击跳转Applestore 评论页面

NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=这里是你的appID" ];

    if( ([[[UIDevice currentDevice] systemVersion] doubleValue]>=7.0)){

        str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id这里是你的appID"];

    }

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

 

 

写到button的点击事件里就可以 记得改appID  模拟器没作用 要用真机测试

posted @ 2015-11-12 15:39  何昕666  阅读(494)  评论(0)    收藏  举报