Contents

tabBarController(_:sidebar:contextMenuConfigurationFor:)

Called when the sidebar is about to display a context menu for the specified tab. Return either a concrete UIContextMenuConfiguration or nil if the tab does not show context menus.

Declaration

optional func tabBarController(_ tabBarController: UITabBarController, sidebar: UITabBarController.Sidebar, contextMenuConfigurationFor tab: UITab) -> UIContextMenuConfiguration?

Mentioned in