如何点击链接直接跳转到app store指定应用下载页面


NSString *str = [NSString stringWithFormat:@"http://itunes.apple.com/us/app/id%d", 436957167];
[[UIApplication sharedApplication] openURL:[NSURL urlWithString:str]];

其中,436957167是appid

 

附:跳转到评价页面:

NSString *str = [NSString stringWithFormat:  
@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%d",
436957167 ];
[[UIApplication sharedApplication] openURL:[NSURL urlWithString:str]];




免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM