Closed ranhsd closed 6 years ago
Same here!
For some reason tab icons are set to 23*23 here: https://github.com/eggswift/ESTabBarController/commit/925eaaba8942e0bd722e145fb5d56854b1f229a3#diff-54c7e751ff0783ea0af07d351672ea29R210
This set size shouldn't be enforced as it doesn't even follow Apple guidelines.
Same here
In version 2.5 everything works well.. I really don't know why they decided to change it...
override func updateLayout() { super.updateLayout() self.imageView.sizeToFit() self.imageView.center = CGPoint.init(x: self.bounds.size.width / 2.0, y: self.bounds.size.height / 2.0) }
Hi @chenfengfeng What I am doing currently is use the 2.5 version in my project and not the latest one
@ranhsd 2.5版本不需要做任何操作,新版本重构了 image 尺寸,如果希望使用自己 icon 的尺寸,需要重写updateLayout方法 ps:English is not good😂
Same here!
@eggswift is this project abandoned?
Same question here
Have anyone forked a fix for this one?
@all Use .itemContentMode to custom this func, and see it works or not. If you want use image size, use .alwaysOriginal
Hi @eggswift It's not working ... I still see small icons
Hi, I am using this library in my project and after updating from version 2.5 to 2.6.1 I've noticed that the tab icons size has changed and now they are very small. My tab bar design is image only. Each icon size is 40x40. I wanted to know if this change is by design or it's a bug?
Thanks!