ContainerMode

public enum ContainerMode : Equatable

The modes available to the ContainerController tab bar.

  • This mode displays the CameraController and has the title “Video” in the tab bar.

    Declaration

    Swift

    case video
  • This mode displays the CameraController and has the title “Photo” in the tab bar.

    Declaration

    Swift

    case photo
  • This mode displays the LibraryController and 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 BottomBarProvider protocol 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)