ContainerMode
public enum ContainerMode : Equatable
The modes available to the ContainerController tab bar.
-
This mode displays the
CameraControllerand has the title “Video” in the tab bar.Declaration
Swift
case video -
This mode displays the
CameraControllerand has the title “Photo” in the tab bar.Declaration
Swift
case photo -
This mode displays the
LibraryControllerand has the title “Library” in the tab bar.Declaration
Swift
case library -
Use this mode if you wish to display a custom controller in the tab bar.
The controller you provide here can optionally conform to the
BottomBarProviderprotocol if you wish to further customize the contents of the tab bar while this controller is displayed.Declaration
Swift
case custom(title: String, controller: UIViewController)
View on GitHub
ContainerMode Enumeration Reference