在要跳转的方法里面添加以下代码:
NSURL *myUrl = [NSURL URLWithString:@"QQMusic://abcde"];
if([[UIApplication sharedApplication] canOpenURL:myUrl]){
[[UIApplication sharedApplication] openURL:myUrl];
}else{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://"]];
}