override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.'
UITabBar.appearance().tintColor = UIColor.whiteColor()
UITabBar.appearance().selectedImageTintColor = UIColor.redColor()
} //method is in TabBarViewController
I would like the unselected color to be white and selected color to be red. The selectedImageTintColor property is deprecated in iOS 9, and I was wondering how I'd be able to change the unselected image color otherwise? Also, I was able to change the selected image tint color the red color in storyboard by changing the tabbar keypath's color attribute to red. I was wondering if there was a way of changing the unselected and selected color in storyboard?