EditMode

public enum EditMode : Equatable

The modes available to the EditController tab bar.

  • This mode displays the list of available primary filters and their thumbnail previews.

    Primary filters can be customized by setting the primaryFilters variable.

    Declaration

    Swift

    case filter
  • This mode displays video segment composing/trimming/re-ordering.

    If the session currently associated with the edit controller is not a video session, this tab will simply be omitted from the tab bar.

    Declaration

    Swift

    case trim
  • This mode displays adjustments (brightness, vibrance, saturation, etc.), cropping, rotation, horizontal/vertical perspective correction, etc.

    Adjustment filters can be customized by setting the adjustmentFilters variable.

    Declaration

    Swift

    case adjust
  • 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 and TopBarProvider protocols if you wish to further customize the bottom and top bars while this controller is displayed.

    Declaration

    Swift

    case custom(title: String, controller: UIViewController)