Commit 66fc9ce3 authored by David黄金龙's avatar David黄金龙

屏蔽 苹果账号登录功能

parent 1e28e08b
......@@ -184,18 +184,18 @@ class YHOtherLoginViewController: YHBaseViewController {
make.height.width.equalTo(44)
}
} else {
appleButton = {
let button = UIButton(type: .custom)
button.setImage(UIImage(named: "login_apple"), for: .normal)
button.addTarget(self, action: #selector(appleLogin), for: .touchUpInside)
return button
}()
view.addSubview(appleButton)
appleButton.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.bottom.equalTo(-58)
make.height.width.equalTo(44)
}
// appleButton = {
// let button = UIButton(type: .custom)
// button.setImage(UIImage(named: "login_apple"), for: .normal)
// button.addTarget(self, action: #selector(appleLogin), for: .touchUpInside)
// return button
// }()
// view.addSubview(appleButton)
// appleButton.snp.makeConstraints { make in
// make.centerX.equalToSuperview()
// make.bottom.equalTo(-58)
// make.height.width.equalTo(44)
// }
}
}
......
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