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

tabBar的线 的颜色值

parent a40310fd
...@@ -90,7 +90,7 @@ extension YHTabBarViewController { ...@@ -90,7 +90,7 @@ extension YHTabBarViewController {
//展示tabbar上的横线 //展示tabbar上的横线
func handleTabBarLine() -> Void { func handleTabBarLine() -> Void {
let rect = CGRect.init(x:0,y:0,width:KScreenWidth,height:0.5) let rect = CGRect.init(x:0,y:0,width:KScreenWidth,height:0.5)
let fillColor = UIColor(hex:0x222222,transparency: 0.2)! let fillColor = UIColor(hex:0x121A26,transparency: 0.05)!
let img = UIImage.from(color: fillColor, rect: rect) let img = UIImage.from(color: fillColor, rect: rect)
UIView.transition(with:self.tabBar, duration:0.5, options: .transitionCrossDissolve) { UIView.transition(with:self.tabBar, duration:0.5, options: .transitionCrossDissolve) {
......
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