diff --git a/Sources/Filestack/UI/Internal/Controllers/ImagePickerUploadController.swift b/Sources/Filestack/UI/Internal/Controllers/ImagePickerUploadController.swift index d99210d..faa76b8 100644 --- a/Sources/Filestack/UI/Internal/Controllers/ImagePickerUploadController.swift +++ b/Sources/Filestack/UI/Internal/Controllers/ImagePickerUploadController.swift @@ -173,13 +173,13 @@ private extension ImagePickerUploadController { if registeredTypeIdentifiers.contains(AVFileType.jpg.rawValue) { typeIdentifier = AVFileType.jpg.rawValue } else { - typeIdentifier = registeredTypeIdentifiers.last + typeIdentifier = registeredTypeIdentifiers.first } case .current: if registeredTypeIdentifiers.contains(AVFileType.heic.rawValue) { typeIdentifier = AVFileType.heic.rawValue } else { - typeIdentifier = registeredTypeIdentifiers.last + typeIdentifier = registeredTypeIdentifiers.first } }