eggswift / ESTabBarController

:octocat: ESTabBarController is a Swift model for customize UI, badge and adding animation to tabbar items. Support lottie!
MIT License
5.17k stars 578 forks source link

ESTabBarController 设置之后,默认没有itme高亮 #275

Open mzx-699 opened 2 years ago

mzx-699 commented 2 years ago

}

func addChildViewController(vc: UIViewController, title: String, imageName: String) { //设置标题---由内至外设置的 //设置图像 //导航控制器 vc.tabBarItem = ESTabBarItem(ESBouncesContentView(), title: title, image: UIImage(named: imageName), selectedImage: UIImage(named: imageName + "_sel")) let nav = ESNavigationController(rootViewController: vc) self.addChild(nav) }

cnjsyyb commented 1 month ago

it's bug