最佳答案
由于半透明,标签栏呈灰色。 This is the default :
If the tab bar does not have a custom background image, the default value is
YES
.
设置它的translucent
属性设置为 false
以解决此问题并获得 100% 黑色标签栏。
关于xcode - UIColor.blackColor() 比标签栏上的黑色要少一些,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33955215/