- //跳转到应用页面
- NSString *str = [NSString stringWithFormat:@"http://itunes.apple.com/us/app/id%d",appid];
- [[UIApplication sharedApplication] openURL:[NSURL urlWithString:str]];
- //跳转到评价页面
- NSString *str = [NSString stringWithFormat: @"itms-apps://ax.itunes.apple.com/webObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id;=%d",
- appid ];
- [[UIApplication sharedApplication] openURL:[NSURL urlWithString:str]];
- //该片段来自于http://www.codesnippet.cn/detail/051220137820.html
来源: http://www.codesnippet.cn/detail/051220137820.html