iPhone/iOS File URLs

I can successfully save an image to local storage in my iPhone game with the following code generating the path:

Application.persistentDataPath + "/Saved Games/" + name + ".png"

However, to load this image into a texture I need the WWW class which requires a file URL, but I can’t seem to get this to work on iOS only. It works fine in the editor.

"file://" + Application.persistentDataPath + "/Saved Games/" + name + ".png"

The WWW class simply returns its default question mark texture on iOS.

Does anyone have any advice?

Figured out the answer. Stupidly simple. Had to do with spaces in the file url. Fixed it with:

imageFileURL = imageFileURL.Replace(" ", "%20");