1,info.plist文件配置
2,跳轉(zhuǎn)代碼
NSString *str = [NSString stringWithFormat:@"LZXSecondTest://myhost?a=123&text=%@",self.textField.text];
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:str]]) {
//調(diào)用另外app
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
}
通過openURL跳轉(zhuǎn)原生應(yīng)用的相關(guān)鏈接
http://blog.sina.com.cn/s/blog_7ea0400d0102uy01.html