我该如何升级它:
ImageDownloader().downloadImage(URLRequest: URLRequest) { response in
...
}到最新的AlamofireImage?downloadImage(URLRequest:)似乎不再工作了。
发布于 2017-07-25 05:23:58
downloadImage(URLRequest:)已重命名为download(_:)。有关更多信息,请查看AlamofireImage on Github。
let downloader = ImageDownloader()
downloader.download(urlRequest) { response in
...
}https://stackoverflow.com/questions/45289121
复制相似问题