问题描述
我添加在我的游戏环节让玩家可以评价及看到相同的开发者更多的游戏。
I'm adding links in my game so players can rate and see more games of the same developer.
有关评价我用
itms-apps://itunes.apple.com/app/idMY_GAME_ID_IN_NUMBERS
和它工作正常,打开App Store的直线距离。
and it works properly, opening the App Store straight away.
不过,我无法找到打开在我的iPhone App Store的应用程序,并显示出由同一开发商所有游戏列表的链接。
However, I can't find a link that opens the App Store app in my iPhone and shows a list of all games by the same developer.
我试过这个
http://appstore.com/STUDIO_NAME
和它的作品,但它首先打开设备的Web浏览器,然后在App Store,我猜是因为的 HTTP 的协议,而不是的 ITMS-应用的的。我宁愿直行到App Store类似的率的链接呢。
and it works, but it opens first the device web browser and then the App Store, I guess because of the http protocol instead of itms-apps. I'd rather going straight to the App Store like the rate link does.
如何实现它的主意?
推荐答案
有关View应用程序页面:
For view Application page :
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/us/app/APPNAME/idApp?mt=8&uo=4"]];
//APPNAME = Application name, idApp = Application unique id
有关视图应用程序从开发
For view App from the developer
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/us/artist/DEVNAME/idDEVID?uo=4"]];
DEVNAME = Developer name in small chars, idDEVID = developer id, you can get it from iTunes.
更新1
如果你有你的应用ID,那么你可以得到你的开发者ID喜欢,
If you have your App Id then you can get your developer id like,
https://itunes.apple.com/lookup?id=YourAnyAppID
在Web浏览器中
运行这一点,并针对搜索 artistViewUrl
的话,这会给你网址
,即列出所有来自同一个开发应用
Run this in web browser, and in response search for artistViewUrl
word, this will give you URL
, that List all APPs from Same Developer
只要记住,替换 HTTP
到 ITMS
停止重定向。
Just keep in mind that replace http
to itms
to stop redirection.
五月有所帮助。
HTH,享受编码!!
HTH, Enjoy Coding!!
这篇关于链接在iPhone的App Store开发者列出所有的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!