Contents

UITabBarController.Mode.tabSidebar

The system displays the content as either a tab bar or a sidebar, depending on the context.

Declaration

case tabSidebar

Mentioned in

Discussion

Different platforms handle the mode differently:

  • On iPad, the system displays the content as either a tab bar or a sidebar, depending on the context.

  • On Mac Catalyst, the system displays a sidebar.

  • On iPhone and Apple TV, the system displays the platform’s regular tab bar.

  • In visionOS, the system displays the platform’s regular tabs, but a UITabGroup can display a sidebar when it displays the group’s view controller.

For more information, see Elevating your iPad app with a tab bar and sidebar.

See Also

Setting modes