首页 > 移动平台 > 详细

ios应用评分

时间:2016-01-25 16:24:35      阅读:127      评论:0      收藏:0      [点我收藏+]
  • 为了提高应用的用户体验,经常需要邀请用户对应用进行评分
  • 应用评分无非就是跳转到AppStore展示自己的应用,然后由用户自己撰写评论
  • 如何跳转到AppStore,并且展示自己的应用
  • 方法1

  NSString *appid = @"444934666";

  NSString *str = [NSString stringWithFormat:

                 @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@", appid];

  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];

 

  • 方法2

  NSString *str = [NSString stringWithFormat:

                 @"itms-apps://itunes.apple.com/cn/app/id%@?mt=8", appid];

  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];

ios应用评分

原文:http://www.cnblogs.com/PJHome/p/5157369.html

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