class: AppExist
检测应用是否安装
func
- checkAppExist(_ appScheme:String) -> Bool
检测应用是否安装
使用注意
- 把需要检测的Scheme添加到白名单即可,添加方法:
info.plist
增加LSApplicationQueriesSchemes
array,把制定的Scheme加进去
使用
// example
if AppExist.checkAppExist("wechat://") {
// true, your code
}