ComposeView: Enable Image Import
In ComposeView we do support a button to upload images to our App. We also have a SwiftUI wrapper file for UIImagePickerController called ImagePicker.swift
which helps us achieve an image import to our App. But currently we only use it to let the user open the Gallery and pick a photo while composing an E-Mail.
However picking a photo currently has no effect to the ComposeView. There seem to be a problem with saving the picked image and previewing it in the attachment section. This should be fixed so that users can not only attach files, but also Images from their Gallery in the future.
- fixing the image import
- previewing the images
- sending the images with the mail