我在我的应用程序中使用了新的AlamofireImage 2.1.0版本,并且在尝试使用
imageDownloader.sessionManager.session.configuration.URLCache?.removeCachedResponseForRequest(URLRequest)我收到一个错误:
Value of type 'ImageDownloader' has no member 'sessionManager'我也在使用Alamofire 3.1.2
发布于 2015-11-09 16:13:00
sessionManager属性在ImageDownloader发行版中有一个内部ACL。最近,我将ACL更改为public in f35e4748,它位于master分支中。如果您更新到master,您的代码示例应该会像预期的那样工作。
我们将在接下来的几天内在这里削减
2.1.1发行版。
https://stackoverflow.com/questions/33600256
复制相似问题