iOS 跳转到appstore评论

NSString * appstoreUrlString = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?mt=8&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software&id=APP_ID";

NSURL * url = [NSURL URLWithString:appstoreUrlString];

if ([[UIApplication sharedApplication] canOpenURL:url])

{

[[UIApplication sharedApplication] openURL:url];

}

else

{

NSLog(@"can not open");

}

第二种方法

NSString* strLoc =
@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=536226604";

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

注意:id换成自己应用的id

时间: 2024-07-29 14:20:26

iOS 跳转到appstore评论的相关文章

IOS 跳转至AppStore的两种方式

//第一种方法 直接跳转 id+编号 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/app/id1018221712"]]; //第二中方法 应用内跳转 //1:导入StoreKit.framework,控制器里面添加框架#import <StoreKit/StoreKit.h> //2:实现代理SKStoreProductView

iOS 跳转至AppStore评分页面

iOS7之前: [[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=YourAPPID"]]; iOS7之后:     [[UIApplication sharedApplication]op

iOS 如何生成跳转到Appstore的链接及二维码

1.如果是在应用内部跳转到Appstore只需执行如下代码 [[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/app/id1061880281"]]; 其中 @"itms-apps://itunes.apple.com/app/id1061880281"为拼接地址,1061880281为应用在Appstore注册上线时产生的唯一I

iOS 跳转到App Store下载或评论

//跳转到app在AppStore页面 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@", kPopolookAppleId]]]; //跳转到评分        NSString *str = [NSString stringWithFormat:@"itms-a

ios应用内跳转到appstore里评分

在ios6.0前跳转到appstore评分一般是直接跳转到appstore评分NSString *evaluateString = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=587767923"];    [[UIApplication sharedAp

【iOS开发-86】真机调试:打电话telprompt和跳转到appstore评价应用的openurl

(1)打电话:建议用telprompt://而不用tel://,因为前者有拨打前提示,且拨打完成后回到原先应用界面. NSURL *url=[NSURL URLWithString:@"telprompt://10086"]; [[UIApplication sharedApplication]openURL:url]; (2)跳转到appstore的应用页面去评价. --我们发布应用后,每个应用会有一个Apple ID,根据这个Apple ID可以组成这个地址:id后面?前面的就是A

iOS应用内集成AppStore评分功能

iOS应用内部实现App Store评分功能,笔着整理总结有三种方式,各位可根据自己需求自己选择.先介绍下评分功能实现的三种方式. 1,通用方式通过App内部打开网页形式,跳转到AppStore编辑评论,可评分,可评论. 优点:方便,快捷,不受系统版本限制,目前最常用的方式. 缺点:内部网页形式加载缓慢,等待时间长,加载失败概率大. 2,iOS 6.0以后 在app内部加载AppStore 展示app信息 优点:展示速度比方法三块快 缺点:不能直接跳转到评论编辑页面,需要手动点击评论+编辑评论

应用内直接跳转到Appstore

1 iOS开发中,应用内直接跳转到Appstore 2 1.进入appstore中指定的应用 3 NSString *str = [NSString stringWithFormat: 4 @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa /wa/viewContentsUserReviews?type=Purple+Software&id=%d", 5 myAppID ]; 6 7 [[UIApplication

从app里跳到appstore评论页面的实现

// 如果要实现在应用里面跳到appstore的对应评论页面里面的话,只要将下面地址中App_ID替换成自己的id就可以了,其他的地方都不用管. // 如果要用Safari浏览器做实验的话可以将地址中的 "itms-apps://" 替换成"http://"即可. // 另外也可以尝试地改变其中几个参数的数值,可以看看结果.  // 注意: 必须使用真机调试,目前来说还是不支持模拟器运行的 NSString * appstoreUrlString = @"