ios应用内跳转到appstore里评分
2016-06-12 11:23
423 查看
NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=XXXXXXXXXX" ];
if( ([[[UIDevice currentDevice] systemVersion] doubleValue]>=7.0)){
str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/idXXXXXXXXXX"];
}
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
id为iTunes Connect 中 app信息中的
Apple ID
if( ([[[UIDevice currentDevice] systemVersion] doubleValue]>=7.0)){
str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/idXXXXXXXXXX"];
}
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
id为iTunes Connect 中 app信息中的
Apple ID
相关文章推荐
- iOS开发-自定义专属相册 (详细)| 干货
- Android jni 资源引用报错
- Android 5.X 新特性详解(二)——列表与卡片
- 关于unity5鼠标在物体上的检测相关问题
- iOS开发——App集成短信验证码
- minSdkVersion="8" 主题"Theme.AppCompat.Light"等不存在的问题
- iOS开发:九宫格灵活布局
- 漂亮的日期选择对话框datepicker
- 【Unity】Could not get texture importer UnityEditor.TrueTypeFontImporter:GenerateEditableFont(String)
- android 传中文给服务器 乱码问题
- Android Studio的快捷键以及设置方式
- 问题 android.content.res.Resources$NotFoundException: String resource ID #0xfffffffa
- Android Studio的基本设置与运行
- iOS开发:自定义数字键盘(两种方式)
- Android 中自定义ViewGroup的初步总结
- WebView控件之WebSettings各种配置方法源码总结
- uiwebview 加载本地js、css、img,html从网站加载
- ng-app 和 ng-app=""的区别
- 关于android调用系统摄像头获取图片过小的解决方案
- Android 5.0+ 解析(七)Snackbar控件