Posts

Post not yet marked as solved
1 Replies
0 Views
Got the solution: Inside the 'picker' function func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) { } while iterating through the imported images array put guard let imgFileName = photo.itemProvider.suggestedName else { return } for each image, the 'imgFileName' will give the file name in string (without file extension though).