博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
程序内部让用户直接上appstore评价游戏的链接地址以及跳转方法
阅读量:7080 次
发布时间:2019-06-28

本文共 721 字,大约阅读时间需要 2 分钟。

NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa /wa/viewContentsUserReviews?type=Purple+Software&id=%d", Config_MyAppID];

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

 

NSString *str = [NSStringstringWithFormat:

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

Config_MyAppID是itunesconnect网站上对应app的Apple ID,它是一串纯数字。

app内部跳转到制定appstore的指定app

NSString *str = [NSString stringWithFormat:@"http://itunes.apple.com/us/app/id%d", 436957167];

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

转载于:https://www.cnblogs.com/evolxb/archive/2012/11/13/2768023.html

你可能感兴趣的文章
整理了一些t-sql技巧
查看>>
一键安装docker-ce
查看>>
java mybatis使用 设置resultType查询对象字段为null
查看>>
pandas.date_range
查看>>
Object copying
查看>>
spring的代理模式
查看>>
【转】mysql对large page的支持
查看>>
11-unittest
查看>>
学习OpenSeadragon之四(导航视图)
查看>>
PHP表单数据写入MySQL代码
查看>>
ASP.NET:Session对并发访问的影响
查看>>
Insertion sort list
查看>>
centos7 安装java+tomcat
查看>>
Uncaught TypeError: form.attr is not a function 解决办法
查看>>
HDU 1023 Train Problem II( 大数卡特兰 )
查看>>
策略模式
查看>>
图片的画图板
查看>>
【网摘】C#中TransactionScope的使用方法和原理
查看>>
SAE 部署 bilibili 爬虫
查看>>
IQ:1,11,21,1211,111221,下一个数是什么?
查看>>