You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copied this verbatim from the main README and it doesn't work (using the following jpeg in the example).
Alamofire.download("https://static.preapp.co/medias/2016/11/10/3194-a7d7afbf22.jpg").downloadProgress{ progress inprint("Download Progress: \(progress.fractionCompleted)")}.responseData{ response in
// response.result.value is ALWAYS nil
if let data = response.result.value {letimage=UIImage(data: data)}}
The text was updated successfully, but these errors were encountered:
You need to specify the destination closure. Otherwise the file isn't moved out of the temp directory and you don't have access to the data outside of your sandbox after the SessionDelegate API is called. See our README for more info.
I just pushed up ffaa071 which updates the README to hopefully make this more clear.
I copied this verbatim from the main README and it doesn't work (using the following jpeg in the example).
The text was updated successfully, but these errors were encountered: