xcode 在 iPhone 应用程序上打开 iTunes 链接?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5850107/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 20:57:12  来源:igfitidea点击:

Opening iTunes link on iPhone app?

iphoneobjective-ccocoa-touchxcodeitunes

提问by user731501

Possible Duplicate:
How to link to apps on the app store

可能重复:
如何链接到应用商店中的应用

I want to link all my apps on my main app if that makes sense So i have a button, when the user touches it

如果有意义,我想在我的主应用程序上链接我的所有应用程序 所以我有一个按钮,当用户触摸它时

they will be directed to this link:

他们将被定向到此链接:

http://itunes.apple.com/gb/app/idubstep/id430260356?mt=8

http://itunes.apple.com/gb/app/idubstep/id430260356?mt=8

However

然而

 -(IBAction)goReviewTwo:(id)sender
{
  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/gb/artist/lifevision-studios/id415139916"]];
}

This always say Request cannot be complete. So is there a special link i need to use for it?

这总是说Request cannot be complete。那么我需要使用一个特殊的链接吗?

回答by Dancreek

There are several threads answering this question. Here is one: thread

有几个线程回答了这个问题。这是一个:线程

Note the comment that suggests using itms:// instead of http://

请注意建议使用 itms:// 而不是 http:// 的评论