这是一篇关于这个主题的精彩文章:http: //bjango.com/articles/ituneslinks/
从文章引用:
http://itunes.com/apps/developer - 由开发人员搜索所有应用程序
它也可以由一个开发人员链接到所有应用程序,但有一个问题.在Mac或PC上,这将打开iTunes并登陆开发者的页面.在iPhone或iPod touch上,它会做一些舞蹈,打开MobileSafari,然后是iTunes,然后是App Store应用程序.不理想,有点难看和缓慢,但最终到达那里.
如果您想隐藏重定向并加快处理速度,Apple建议您使用NSURLConnection.
这可以防止它做正常的小舞蹈
NSString *iTunesLink = @"itms-apps://itunes.com/apps/companyname/";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
Run Code Online (Sandbox Code Playgroud)