File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,13 +88,13 @@ A lightweight customized tabbar view.
88
88
//Create Custom Tabs
89
89
let t1 = HHTabButton.init(withTitle: "Calendar", tabImage: UIImage.init(named: "Calendar")!, index: 0)
90
90
t1.titleLabel?.font = tabFont
91
- t1.setBackgroundColor (color: defaultTabColor, forState: .normal)
92
- t1.setBackgroundColor (color: selectedTabColor, forState: .selected)
91
+ t1.setHHTabBackgroundColor (color: defaultTabColor, forState: .normal)
92
+ t1.setHHTabBackgroundColor (color: selectedTabColor, forState: .selected)
93
93
94
94
let t2 = HHTabButton.init(withTitle: "Refresh", tabImage: UIImage.init(named: "Refresh")!, index: 1)
95
95
t2.titleLabel?.font = tabFont
96
- t2.setBackgroundColor (color: defaultTabColor, forState: .normal)
97
- t2.setBackgroundColor (color: selectedTabColor, forState: .selected)
96
+ t2.setHHTabBackgroundColor (color: defaultTabColor, forState: .normal)
97
+ t2.setHHTabBackgroundColor (color: selectedTabColor, forState: .selected)
98
98
99
99
//Note: As HHTabButton are subclassed of UIButton so you can modify it as much as possible.
100
100
You can’t perform that action at this time.
0 commit comments