I'm bringing in images with names that contain spaces, English names and Chinese names, and using those filenames to create strings that are presented beneath their images.
This worked fine until I started putting Chinese into the image file names.
Now, unfortunately all spaces are coming in as
The path is urlencoded if you urldecode the path spaces should turn out fine
For Swift 3:
For Swift 2.3: