当一个应用中需要转到另一个应用的下载页时,我们该如何进行跳转呢?其实这是个很简单的过程,只需要下面一句代码就能实现
[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:
[NSString stringWithFormat:@"http://itunes.apple.com/us/app/id%d",appid]
]];其中appid是应用在iTunes Conect分配的id
当一个应用中需要转到另一个应用的下载页时,我们该如何进行跳转呢?其实这是个很简单的过程,只需要下面一句代码就能实现
[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:
[NSString stringWithFormat:@"http://itunes.apple.com/us/app/id%d",appid]
]];其中appid是应用在iTunes Conect分配的id