tabBarController(_:didSelectTab:previousTab:)
Tells the delegate that the user selected the specified @c selectedTab in the tab bar controller.
Declaration
optional func tabBarController(_ tabBarController: UITabBarController, didSelectTab selectedTab: UITab, previousTab: UITab?)Discussion
This specified @c selectedTab is either a root tab or any of their descendants.