Error "No such file or directory exists" while trying to create directory and save images to file manager
I am trying to save images locally by saving them to the FileManager. Somehow it is not working and I don't know why.
helloid is the id of the event I am trying to retrieve images from.
First I am getting the image and then I try to save it locally.
This is the code:
/// This function downloads all pictures of a specific event
/// - Parameter helloid: ID of the event
func retrieveAllPictures(helloid: String) async {
let db = Firestore.firestore()
var contains =...