UIDocumentPickerViewController delete file no longer possible

My app uses UIDocumentPickerViewController to display image files that are saved on iCloud Drive.

In previous versions of iOS the user could long press on an image file and an option to Delete was shown. This no longer seems to be the case in iOS 18.

Is there a way to allow users to delete files when using a UIDocumentPickerViewController?

UIDocumentPickerViewController delete file no longer possible
 
 
Q