[[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"identifier:URL Schemes"]]
判断本机是否安装
之后通过OpenURL直接打开就可以
具体的identifier 和 URL Schemes可以查看下图
注意 是在被打开的app中设置这两个参数
![](https://img.haomeiwen.com/i701353/9d38da4c5eda2de2.png)
[[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"identifier:URL Schemes"]]
判断本机是否安装
之后通过OpenURL直接打开就可以
具体的identifier 和 URL Schemes可以查看下图
注意 是在被打开的app中设置这两个参数
本文标题:iOS一个app打开另一个app
本文链接:https://www.haomeiwen.com/subject/umedzktx.html
网友评论