//跳转到应用页面
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]];
本文介绍了如何在iOS应用中实现应用页面及评价页面的跳转功能,通过使用NSURL与UIApplication的方法来完成这一过程。

被折叠的 条评论
为什么被折叠?



