diff --git a/Source/Configuration/YPImagePickerConfiguration.swift b/Source/Configuration/YPImagePickerConfiguration.swift index 5cb79e13b..af6f6d4e5 100644 --- a/Source/Configuration/YPImagePickerConfiguration.swift +++ b/Source/Configuration/YPImagePickerConfiguration.swift @@ -138,48 +138,6 @@ public struct YPImagePickerConfiguration { YPFilter(name: "Sepia", coreImageFilterName: "CISepiaTone"), YPFilter(name: "XRay", coreImageFilterName: "CIXRay") ] - - /// Migration - - @available(iOS, obsoleted: 3.0.0, renamed: "video.compression") - public var videoCompression: String = AVAssetExportPresetHighestQuality - - @available(iOS, obsoleted: 3.0.0, renamed: "video.fileType") - public var videoExtension: AVFileType = .mov - - @available(iOS, obsoleted: 3.0.0, renamed: "video.recordingTimeLimit") - public var videoRecordingTimeLimit: TimeInterval = 60.0 - - @available(iOS, obsoleted: 3.0.0, renamed: "video.libraryTimeLimit") - public var videoFromLibraryTimeLimit: TimeInterval = 60.0 - - @available(iOS, obsoleted: 3.0.0, renamed: "video.minimumTimeLimit") - public var videoMinimumTimeLimit: TimeInterval = 3.0 - - @available(iOS, obsoleted: 3.0.0, renamed: "video.trimmerMaxDuration") - public var trimmerMaxDuration: Double = 60.0 - - @available(iOS, obsoleted: 3.0.0, renamed: "video.trimmerMinDuration") - public var trimmerMinDuration: Double = 3.0 - - @available(iOS, obsoleted: 3.0.0, renamed: "library.onlySquare") - public var onlySquareImagesFromLibrary = false - - @available(iOS, obsoleted: 3.0.0, renamed: "library.onlySquare") - public var onlySquareFromLibrary = false - - @available(iOS, obsoleted: 3.0.0, renamed: "targetImageSize") - public var libraryTargetImageSize = YPImageSize.original - - @available(iOS, obsoleted: 3.0.0, renamed: "library.mediaType") - public var showsVideoInLibrary = false - - @available(iOS, obsoleted: 3.0.0, renamed: "library.mediaType") - public var libraryMediaType = YPlibraryMediaType.photo - - @available(iOS, obsoleted: 3.0.0, renamed: "library.maxNumberOfItems") - public var maxNumberOfItems = 1 - } /// Encapsulates library specific settings.