在 iOS 应用中直接跳转到 AppStore 的方法
来源:互联网 发布:程序员兼职的平台 编辑:程序博客网 时间:2024/05/22 00:36
找到应用程序的描述链接,比如:https://itunes.apple.com/cn/app/zhong-guo-lian-tong-shou-ji/id416457422?mt=8”
找APP链接的方法:打开iTunes,在App Store中搜app,在搜到的APP图标下方点击“获取”右边的下拉箭头,获取链接。
然后将 http:// 替换为 itms:// 或者 itms-apps://:
itms://协议将在itunes中找到APP
itms-apps://协议将在App Store中找到APP
itms://itunes.apple.com/cn/app/zhong-guo-lian-tong-shou-ji/id416457422?mt=8”
itms-apps://itunes.apple.com/cn/app/zhong-guo-lian-tong-shou-ji/id416457422?mt=8”
然后打开这个链接地址:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/cn/app/zhong-guo-lian-tong-shou-ji/id416457422?mt=8"]];
或
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps ://itunes.apple.com/cn/app/zhong-guo-lian-tong-shou-ji/id416457422?mt=8"]];
这个最好在真机上面测试,在模拟器上测试,会没有效果。
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开发---在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore
- 在iOS应用中跳转到AppStore
- iOS开发中,应用内直接跳转到Appstore
- iOS开发中,应用内直接跳转到Appstore
- iOS开发中,应用内直接跳转到Appstore
- DriverStudio开发PCI设备DMA数据传输
- centos6.5环境下tensoflow0.8.0的安装测试
- 走马灯 (滚动字幕效果)
- Monkey源码分析3—Monkey源码的整体设计结构
- java学习笔记
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 泛型
- Junittest
- 崩溃统计分析
- ScrollView 嵌套 ViewPager,ViewPager内容不显示问题
- 专题四1008
- 分享基于Live555开发的 H264视频直播流媒体项目
- django 模板语法
- 利用xml获取土豆网的[无广告]的视频地址