Commit eb4753d0 authored by David黄金龙's avatar David黄金龙

杜总在龙哥电脑上 完美修改

parent 926afeb0
......@@ -22,8 +22,9 @@ extension YHLoginMethodManager {
if !support {
YHHUD.flash(message: "不支持一键登录")
// 跳转APP自定义登录界面
let vc = YHOtherLoginViewController()
UIViewController.current?.navigationController?.pushViewController(vc, animated:true)
let vc = UINavigationController(rootVC: YHOtherLoginViewController())
vc.modalPresentationStyle = .fullScreen
UIViewController.current?.present(vc, animated: true)
return
}
// 支持一键登录
......
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