Set Action for UITabBarItem
问题 How can i set an action for my UITabBarItem ? Can i connect it from storyboard to code somehow? or programmatically? And if so how can it be done? My hierarchy is UITabBarController -> UINavigationController -> UITabBarItem Sorry for the noobish question but i really need an answer for this. And I couldn't find anything regarding this online. Using Swift 3 and Xcode 8 Thank you! i tired Mannopson's Answer (didn't work): class BarsViewController: UITableViewController,UISearchResultsUpdating