Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3909b8b commit c1edce1Copy full SHA for c1edce1
1 file changed
Sources/ZYCommonUtil/CustomNavViewController.swift
@@ -18,6 +18,7 @@ open class NavBarAppear {
18
open var titleFont: UIFont = UIFont.systemFont(ofSize: 20)
19
open var titleColor: UIColor = .black
20
open var lineHid: Bool = true
21
+ open var backImage: String = ""
22
}
23
24
open class NavBarView: UIView {
@@ -87,6 +88,7 @@ open class NavBarView: UIView {
87
88
titleLbl.font = NavBarAppear.default.titleFont
89
titleLbl.textColor = NavBarAppear.default.titleColor
90
line.isHidden = NavBarAppear.default.lineHid
91
+ backBtn.setImage(UIImage(named: NavBarAppear.default.backImage), for: .normal)
92
93
94
@objc func back() {
0 commit comments