首页 > 移动平台 > 详细

APP评分跳转

时间:2016-01-08 18:21:32      阅读:228      评论:0      收藏:0      [点我收藏+]
 1     NSString * appstoreUrlString = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=625009752"];
 2     
 3     NSURL * url = [NSURL URLWithString:appstoreUrlString];
 4     
 5     if ([[UIApplication sharedApplication] canOpenURL:url])
 6     {
 7         [[UIApplication sharedApplication] openURL:url];
 8     }
 9     else
10     {
11         NSLog(@"can not open");
12     }
13     

 

APP评分跳转

原文:http://www.cnblogs.com/zhaoyutang/p/5113919.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!