UITab
An object that manages a tab in a tab bar.
Declaration
@MainActor class UITabMentioned in
Overview
To create a tab, call init(title:image:identifier:viewControllerProvider:). In the closure, return the view controller your app presents when someone selects the tab. Then pass an array of tabs to your UITabBarController object’s tabs property.
For more information, see Elevating your iPad app with a tab bar and sidebar.