I am trying to create custom tab bar controller in UIStoryboard in iOS 8 with swift (objective-c also okay). So, I plan to use this code.
let item0: UITabBarItem = UITabBarController().tabBar.items[0] as UITabBarItem
item0.setFinishedSelectedImage(selectedImage0, withFinishedUnselectedImage: unselectedImage0)
However, problem is that setFinishedSelectedImage
is no longer supported and I see this error. How shall I implement?
APIs deprecated as of iOS 7 and earlier are unavailable in Swift