我怎么能直接启动的Appstore应用程序从我的应用 [英] How Can I Launch The Appstore App Directly from my Application

查看:114
本文介绍了我怎么能直接启动的Appstore应用程序从我的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用几个应用程序现在启动iTunes直接从App Store。我甚至使用我的iPod 2.1 2G一些。

I've used several apps now that launch the itunes store directly from the app. I'm even using some on my 2.1 iPod 2G.

我知道有一个在2.1的美元,在Safari工作p $ pvents AppStore的链接错误,但不知何故被人直接启动AppStore的,甚至可以通过Safari浏览器没有。

I know there's a bug in 2.1 that prevents appstore links from working in safari, but somehow people are launching the appstore directly, not even through safari.

你怎么做到这一点?它是一个无证的OpenURL功能?

How do you do this? Is it an undocumented openURL feature?

推荐答案

从iTunes,拖动应用图标到桌面上,这会给你一个链接就可以直接使用(例如,<一个href=\"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284036524&mt=8\">http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284036524&mt=8推出AppStore上以填字游戏,无论是台式机和iPhone)上。

From iTunes, drag the icon of your app to the desktop, this will give you a link you can use directly (for example, http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284036524&mt=8 launches the AppStore to Crosswords, both on a desktop and an iPhone).

这个弹出成一个NSURL,并调用的OpenURL就可以了。

Pop this into an NSURL and call openURL on it.

这篇关于我怎么能直接启动的Appstore应用程序从我的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆