在 iOS 应用中直接跳转到 AppStore
来源:互联网 发布:人人商城分销系统源码 编辑:程序博客网 时间:2024/05/18 02:56
在iOS应用中直接跳转到AppStore其实十分简单。
首先,拿到你要跳转到的AppStore地址(URL) 例如:https://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8
然后将 http:// 替换为 itms:// 或者 itms-apps://
然后调用以下代码
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8"]];
就ok了, 很简单啊 有木有啊。
(小小提醒一下,需要真机测试才能有结果)
0 0
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在iOS应用中跳转到AppStore
- iOS开发---在 iOS 应用中直接跳转到 AppStore 的方法
- iOS开发中,应用内直接跳转到Appstore
- iOS开发中,应用内直接跳转到Appstore
- iOS开发中,应用内直接跳转到Appstore
- iOS开发中,应用内直接跳转到Appstore评分
- Bell数的生成函数推导
- first 关于文档(总结)
- vi/vim的配置文件
- Struts2和Spring的比较
- mysql查看设置字符集
- 在 iOS 应用中直接跳转到 AppStore
- nginx 源码学习(四) 基本数据结构 ngx_queue_t
- Qt 弹出一个灰色半透明的子窗口,使主窗口上任何按键也点不了
- SLM7.1SR1SP05 配置(configuration guide+ link help) - 02 overview啥也没有不用看了
- linux下添加命令
- php5.4链接mssql2005或mssql2008的三种方式
- 自定义标签的错误
- UML总结
- error C2064: term does not evaluate to a function惯性思维:乘号写掉了的坏习惯