tabBar(_:didSelect:)
Sent to the delegate when the user selects a tab bar item.
Declaration
optional func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem)Parameters
- tabBar:
The tab bar that is being customized.
- item:
The tab bar item that was selected.