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

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

问题描述

我想从我的iPhone应用程序提供了一个链接到一个单一的作者/公司在App Store上所有的应用程序。

让我们ngmoco的为实例。点击iTunes上的PC或Mac下面的链接,打开iTunes和用户与ngmoco的所有已发布的应用到今天的某个网页重定向:
<一href=\"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=293559501\">http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=293559501

不过,从iPhone打开相同的URL(例如,从Mail.app,或从其他应用程序)会导致iTunes中的音乐的存储浏览器启动,而不是在App Store浏览器,和一个错误消息弹出。任何人都知道我应该怎么手艺一个iPhone友好的URL链接到一个单一的作者或公司的所有应用程序?谢谢你。


解决方案

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

这似乎为我工作!

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

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

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]];

That seems to work for me!!

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

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