preferredPlacement
The preferred placement for the tab bar controller when the sidebar and tab bar are mutually exclusive, and only one placement can be displayed.
Declaration
var preferredPlacement: UITabBarController.Sidebar.Placement { get set }Discussion
When set to UITabBarControllerSidebarPlacementAutomatic, the system resolves to the platform default. On iOS, this resolves to showing the tab bar by default. This property has no effect on platforms where multiple placements are supported, like on iPadOS, where the sidebar can be minimized into the top tab bar.
Default is UITabBarControllerSidebarPlacementAutomatic.