Commit 34a12eda authored by Alex朱枝文's avatar Alex朱枝文

七鱼注释掉点击链接的方法

parent db289266
......@@ -103,17 +103,12 @@ extension YHButlerServiceManager {
customActionConfig?.pullRoamMessage = true
// 拉取漫游消息条数,默认20条,最大100条
customActionConfig?.roamMessageLimit = 100
/*
// 后续需要处理自己的业务再打开
customActionConfig?.linkClickBlock = { linkAddress in
guard let linkAddress = linkAddress, (linkAddress.isValidHttpUrl || linkAddress.isValidHttpsUrl || linkAddress.isValidFileUrl), let url = URL(string: linkAddress) else {
return QYLinkClickActionPolicy.open
}
let safariViewController = SFSafariViewController(url: url)
safariViewController.dismissButtonStyle = .close
safariViewController.modalPresentationStyle = .fullScreen
UIViewController.current?.present(safariViewController, animated: true, completion: nil)
return QYLinkClickActionPolicy.cancel
}
*/
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment