tabBarController(_:sidebar:leadingSwipeActionsConfigurationFor:)
Called when the sidebar is about to show leading swipe actions for the specified tab. Return either a concrete UISwipeActionsConfiguration or nil if the tab does not show swipe actions.
Declaration
optional func tabBarController(_ tabBarController: UITabBarController, sidebar: UITabBarController.Sidebar, leadingSwipeActionsConfigurationFor tab: UITab) -> UISwipeActionsConfiguration?