一、找到应用程序的描述链接,比如:https://itunes.apple.com/cn/app/支付宝-让生活更简单/id333206289?mt=8
二、然后将https:// 替换成itms:// 或者 itms-apps://
itms://itunes.apple.com/cn/app/支付宝-让生活更简单/id333206289?mt=8
itms-apps://itunes.apple.com/cn/app/支付宝-让生活更简单/id333206289?mt=8
三、如果链接地址中含有中文,就需要用UTF8编码
NSString *url = @"itms://itunes.apple.com/cn/app/支付宝-让生活更简单/id333206289?mt=8";
url = [url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url];