编程方式运行在App Store上搜索? [英] Programmatically run a search on the App Store?

查看:135
本文介绍了编程方式运行在App Store上搜索?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能从我的应用程序中打开App Store的应用程序,并运行一个搜索?

Is it possible to open the App Store app from within my app and run a search?

我想看看是否有一个AppStore的:我可以使用// URL类型,以同样的方式,邮寄地址:和手机短信:分别打开邮件和短信

I'm looking to see if there's an appstore:// type URL that I could use, in the same way that mailto: and sms: open Mail and SMS respectively.

有谁知道这是可能的吗?

Does anyone know if this is possible?

编辑 - 更多的信息:

Edit - more info:

我已经使用的UIApplication的的OpenURL一直在努力:方法,传递各种形式的火卫一和iTunes的网址,没有运气迄今

I've been trying using UIApplication's openURL: method, passing various forms of phobos and iTunes URLs, with no luck so far.

有些人可能会知道,你可以在桌面上右键单击在iTunes链接和复制链接到特定页面。我复制链接到上市的特定公司所有的应用程序的页面。

Some may be aware that you can right-click links in iTunes on the desktop and copy links to certain pages. I copied the link to a page that listed all the apps for a particular company.

有些人也可能知道,你能在iPhone上的公司名称和搜索结果中的App Store应用搜索将是由该公司所拥有的所有应用。

Some may also be aware that you can do a search in the App Store app on the iPhone for a company name and the search results will be all the apps owned by that company.

我试图做到这一点通过链接从我的应用程序...

I'm trying to achieve that via a link from my app...

使用在桌面上的iTunes复制的链​​接只是打开Safari浏览器,然后打开iTunes应用程序,最后用一个无法连接到iTunes商店的消息结束。这是无论URL是否与火卫一或iTunes开始。

Using the link copied from iTunes on the desktop simply opens Safari, and then opens the iTunes app, and finally ends with a "Cannot connect to iTunes Store" message. This is regardless of whether or not the URL starts with phobos or itunes.

下面是我一直在尝试使用(ID修剪)

Here is the link I've been trying to use (ID trimmed)

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=someId

任何想法将是真棒,谢谢。

Any ideas would be awesome, thanks.

推荐答案

埃里卡丧盾介绍了如何建立一个App Store的搜索链接<一个href=\"http://arstechnica.com/apple/news/2008/12/linking-to-the-stars-hacking-itunes-to-solicit-reviews.ars\"相对=nofollow>这里。

Erika Sadun explains how to build an App Store search link here.

这篇关于编程方式运行在App Store上搜索?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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