I was trying to download a picture to my app from
The request failed with the
The reason you are getting this problem is because you have used
let url = NSURL(fileURLWithPath: userImageURL);
Instead you should use:
let url = NSURL(string: userImageUrl)