I am working on a personal project that uses vision kit in iOS to scan documents and save it in the iOS Files app as a pdf (and other files formats like png and jpg). Currently the code saves only the first scan, I am unable to save all the scans to files app. I tried to use the for loop function but the pop up to save the file doesn't come anymore...
Please help me out here as I'm working on a budget.