码迷,mamicode.com
首页 > 移动开发 > 详细

APP评分跳转

时间:2016-01-08 18:22:13      阅读:126      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!