MediaType

public enum MediaType

An enum representing the media types the ImagePickerPresenter will access.

  • Case for image media types.

    Declaration

    Swift

    case image
  • Case for movie media types.

    Declaration

    Swift

    case movie
  • Case for both image and movie media types.

    Declaration

    Swift

    case imageAndMovie
  • The media type representation accepted by a UIImagePickerController.

    Declaration

    Swift

    public var pickerMediaTypes: [String] { get }