如何链接到 App Store 中单个作者/公司页面的页面? [英] How to link to the page of a single author/company page on the App Store?

查看:21
本文介绍了如何链接到 App Store 中单个作者/公司页面的页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的 iPhone 应用程序中提供一个指向某个作者/公司在 App Store 上的所有应用程序的链接.

I would like to provide a link to all the apps of a single author/company on the App Store from my iPhone app.

让我们以 Ngmoco 为例.在 PC 或 Mac 版 iTunes 上单击以下链接将打开 iTunes 并将用户重定向到包含 Ngmoco 迄今为止所有已发布应用程序的页面:http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=293559501

Let's take Ngmoco for instance. Clicking on the following link on iTunes for PC or Mac opens iTunes and redirects the user to a page with all the published apps of Ngmoco up to today: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=293559501

但是,从 iPhone(例如从 Mail.app 或从另一个应用程序)打开相同的 URL 会导致 iTunes Music Store 浏览器而不是 App Store 浏览器启动,并出现错误消息弹出.有人知道我应该如何制作一个对 iPhone 友好的 URL 链接到一个作者或公司的所有应用程序吗?谢谢.

However, opening the same URL from the iPhone (e.g. from Mail.app, or from another app) causes the iTunes Music Store browser to be launched instead of the App Store browser, and an error message pops up. Anybody knows how should I craft an iPhone-friendly URL linking to all the apps of a single author or company? Thanks.

推荐答案

NSString *str = @"itms-apps://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=glbasic";
[[UIApplication sharedApplication] openURL: [NSURL URLWithString:str]];

这似乎对我有用!!

这篇关于如何链接到 App Store 中单个作者/公司页面的页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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