在 iOS 应用中直接跳转到 AppStore 的方法
2016-12-22 15:40
537 查看
在app store里面找到应用程序,进入应用详情,点击获取右边的箭头,复制应用程序的描述链接,比如:http://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719?mt=8然后将 http:// 替换为 itms:// 或者 itms-apps://: itms://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719?mt=8 itms-apps:// itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719?mt=8 然后打开这个链接地址:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719?mt=8"]];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps ://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719?mt=8"]];这个最好在真机上面测试,在模拟器上测试,会没有效果。
相关文章推荐
- iOS开发---在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法--备用
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- IOS问题汇总:2014-12-11 iOS应用检查更新的最优方法附代码(转)+在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 在iOS应用中直接跳转到AppStore的方法
- iOS 应用中直接跳转到 AppStore 的方法
- 在 iOS 应用中直接跳转到 AppStore 的方法 及跳转到其他 App
- iOS 跳转AppStore的两种方法,应用内和直接跳转
- IOS应用直接 跳转AppStore 的方法 IOS7以上