Commit 0ad6f8d4 authored by Steven杜宇's avatar Steven杜宇

// 消息

parent e354f530
...@@ -56,6 +56,7 @@ class YHCustomNavigationBar: UIView { ...@@ -56,6 +56,7 @@ class YHCustomNavigationBar: UIView {
private lazy var rightButton: UIButton = { private lazy var rightButton: UIButton = {
let btn = UIButton() let btn = UIButton()
btn.YH_clickEdgeInsets = UIEdgeInsets(top: 20, left: 20, bottom: 20, right: 20)
btn.addTarget(self, action: #selector(didRightButtonClicked), for: .touchUpInside) btn.addTarget(self, action: #selector(didRightButtonClicked), for: .touchUpInside)
return btn return btn
}() }()
......
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