nui
nui copied to clipboard
UITabBar Unselected Color
for v in (self.tabBar.subviews as Array<UIView>){
let z = "ntCol"
let b = "setUnselect"
let s = "_\(b)edTi\(z)or:"
if v.respondsToSelector(Selector(s)) {
v.swift_performSelector(Selector(s), withObject: UIColor.redColor())
}
}
I don't know how happy is Apple about hits, but it's by far the only way I found to tint the unselected state of the icon image .