When I use method .fileExists(atPath:)to judge whether the file is exist in file system, the method always return false to me. I checked the file system and the fil
.fileExists(atPath:)
I had the same problem this worked for me
filePath.replacingOccurrences(of: "file://", with: "")