Asks the delegate whether the specified view controller should be made active.
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The tab bar controller containing
The view controller belonging to the tab that was tapped by the user.
YES if the view controller’s tab should be selected or
NO if the current tab should remain active.
The tab bar controller calls this method in response to the user tapping a tab bar item. You can use this method to dynamically decide whether a given tab should be made the active tab.