nui icon indicating copy to clipboard operation
nui copied to clipboard

UITabBar Unselected Color

Open gastonmorixe opened this issue 11 years ago • 0 comments

        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 .

gastonmorixe avatar Dec 31 '14 08:12 gastonmorixe