Component Libraries

Other topics

Image Response Serializers

import AlamofireImage

Alamofire.request("https://httpbin.org/image/png").responseImage { response in
    debugPrint(response)

    print(response.request)
    print(response.response)
    debugPrint(response.result)

    if let image = response.result.value {
        print("image downloaded: \(image)")
    }
}

Contributors

Topic Id: 8316

Example Ids: 26695

This site is not affiliated with any of the contributors.