//进入App评分界面
- (IBAction)goToAppStore:(id)sender {
NSString *str = [NSStringstringWithFormat:
@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%d",547203890];
[[UIApplicationsharedApplication] openURL:[NSURLURLWithString:str]];
}
//进入App下载界面
- (IBAction)goToAppStoreLoading:(id)sender {
NSString *appID =@"548560575";// 用developer账户登陆itunes connect创建应用时会产生一个app id
NSString *appURL = [NSStringstringWithFormat:@"itms-apps://itunes.apple.com/app/id%@",appID];
[[UIApplicationsharedApplication] openURL:[NSURLURLWithString:appURL]];
}
http://blog.youkuaiyun.com/baxiaxx/article/details/8481183
http://blog.youkuaiyun.com/jinglijun/article/details/8218400