我的 iPhone 应用程序可以正常运行的链接吗?

发布于 2024-09-12 01:43:41 字数 718 浏览 7 评论 0原文

我正在尝试在我的 iPhone 应用程序中放置一个按钮,将用户移动到 appStore 并列出我们所有的应用程序。

这会浪费时间加载 safari...然后是音乐商店...然后是 appStore:

itunes.com/apps/OurCompanyName

这会尝试加载音乐商店...但根本不会到达应用程序商店:

itunes.apple.com/us/artist/OurCompanyName/id27628833

此链接显示了许多其他公司的应用程序以及我们的应用程序:

ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&submit=media&term=OurCompanyName

苹果自己的“链接制作者”,即使使用正确的“id#”也不起作用。

我们直接从 iTunes 中的“此开发者的更多应用程序”中剪切/粘贴的链接无法获取 直接返回该应用程序列表。

难道没有一个简单的“直接到appStore链接”来列出一个公司的所有应用程序吗?

我们想要PC上浏览器的可点击链接。我们需要应用程序内 UIButton 的链接。

I'm trying to put a button in my iPhone app that will move the user to the appStore and list ALL of our apps.

This wastes time loading safari... then the music store... then the appStore:

itunes.com/apps/OurCompanyName

This tries to load Music Store... and never reaches the app store at all:

itunes.apple.com/us/artist/OurCompanyName/id27628833

This link shows many other company's apps along with ours:

ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&submit=media&term=OurCompanyName

Apple's own "link maker", even with the correct "id#" doesn't work.

The link we cut/paste directly from our "more apps by this developer" in iTunes doesn't get
directly back to that app-list.

Isn't there a simple "direct to the appStore link" that will list all the apps by ONE company?

We do NOT want a clickable link for a browser on a PC. We need a link from a UIButton inside our app.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

说谎友 2024-09-19 01:43:41

嗯,它是可行的。使用 UIButton 作为链接到 safari 的方式,并提供启动页面或搜索的代码的 URL。

例如,这有效

[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&submit=media&term=Playdom "]];

与您的所有应用程序一起开发一个 html 页面,或者将其放入应用程序中并使用它怎么样?

尝试完善您的搜索,或者在您的描述中添加一些在您的所有应用程序中都非常独特的内容

(比如由 CompanyiPhoneDev 或其他公司开发),然后进行搜索!

我还认为有一种方法可以链接到 iphone 应用商店搜索

Tada!
希望有帮助!

Well Its doable. Use the UIButton as a way to link to safari and give the url of the code that launches a page or search.

This for example works

[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&submit=media&term=Playdom"]];

What about developing one html page with all your apps or make it inside the app and use that.

Try refining your search or inside of your descriptions put something pretty unique in all of your apps

Say developed by CompanyiPhoneDev or whatever and search for that!

also I think there is a way to link to an iphone app store search

Tada!
Hope that helps!

眼前雾蒙蒙 2024-09-19 01:43:41

AppStore 上的链接对您有用吗?

例如,Apple Bumper 应用程序位于: http://itunes.apple.com/hk/app/iphone-4-case-program/id383941000?mt=8

在 iTunes 中查看该应用程序时,右键单击“Apple Inc.”。文本将为您提供复制链接的选项,即: http:// itunes.apple.com/hk/artist/apple-inc/id284417353

Does the link on AppStore work for you?

For example, the Apple Bumper app is at: http://itunes.apple.com/hk/app/iphone-4-case-program/id383941000?mt=8

When viewing the app in iTunes, right-click on the "Apple Inc." text will give you an option to copy a link, which is: http://itunes.apple.com/hk/artist/apple-inc/id284417353

墨离汐 2024-09-19 01:43:41

另一种方式: http://arstechnica.com/apple/news/2008/12/linking-to-the-stars-hacking-itunes-to-solicit-reviews.ars

有很多信息,例如

搜索 iTunes 依赖于搜索
Web 对象应用程序或“woa”。这
位于
http://phobos.apple.com/WebObjects/MZSearch.woa
您可以通过您的
网络浏览器,它将重定向到
iTunes,它将处理该请求。
这是典型的搜索请求
看起来像:查看纯文本?

  1. http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?WOURLEncoding=ISO8859_1&lang=1&output=lm&country=US&media =software&term=ad+hoc+helper

http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?WOURLEncoding=ISO8859_1&lang=1&output=lm&country=US&media =software&term=ad+hoc+helper

如果您将此 URL 粘贴到 Safari 中,
iTunes 启动并显示
搜索词组“ad hoc”的结果
帮手。”

您可以执行相同的搜索
直接从iPhone。这
下面的代码片段向您展示了如何
转义 URL 并使用
UIApplication openURL:方法
从您的应用程序切换控制
前往 App Store,打开搜索
窗口显示您传递的短语。我
已将搜索短语放入
在这里单独的字符串,这样你就可以轻松地
推广这个操作。

    • (void)doSearch
  1. {
  2. NSString *search = @"临时助手";
  3. NSString *sstring = [NSString stringWithFormat:@"http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?WOURLEncoding=ISO8859_1&lang=1&output =lm&国家/地区=美国&术语=%@&媒体=软件",
    [搜索
    stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
  4. [[UIApplication 共享应用程序] openURL: [NSURL
    URLWithString:sstring]];
  5. }

Another way : http://arstechnica.com/apple/news/2008/12/linking-to-the-stars-hacking-itunes-to-solicit-reviews.ars

has a lot of info like

Searching iTunes relies on the Search
web object application or "woa". This
is located at
http://phobos.apple.com/WebObjects/MZSearch.woa.
You can access this service via your
web browser and it will redirect to
iTunes, which will handle the request.
Here's what a typical search request
looks like: view plainprint?

  1. http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?WOURLEncoding=ISO8859_1&lang=1&output=lm&country=US&media=software&term=ad+hoc+helper

http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?WOURLEncoding=ISO8859_1&lang=1&output=lm&country=US&media=software&term=ad+hoc+helper

If you paste this URL into Safari,
iTunes launches and displays the
search results for the phrase "ad hoc
helper."

You can perform the same search
directly from the iPhone. The
following code snippet shows you how
to escape the URL and use the
UIApplication openURL: method to
switch control from your application
to App Store, opening its search
window with the phrase you pass. I
have put the search phrase into a
separate string here so you can easily
generalize this operation.

    • (void) doSearch
  1. {
  2. NSString *search = @"ad hoc helper";
  3. NSString *sstring = [NSString stringWithFormat:@"http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?WOURLEncoding=ISO8859_1&lang=1&output=lm&country=US&term=%@&media=software",
    [search
    stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
  4. [[UIApplication sharedApplication] openURL: [NSURL
    URLWithString:sstring]];
  5. }
沉鱼一梦 2024-09-19 01:43:41

解决方案非常简单,工作原理如下:

 NSString *iTunesLink = @" itms-apps://itunes.com/apps/CompanyName/id123456789";
 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];

the solution is very simple it works like this:

 NSString *iTunesLink = @" itms-apps://itunes.com/apps/CompanyName/id123456789";
 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文