草庐IT

albumImagePathArray

全部标签

ios - 预取后从缓存中选取图像

我正在使用Kingfisher框架来预取图像。Kingfisher框架的链接是:https://github.com/onevcat/Kingfisher这是我编写的代码:funcdownloadImages(){if(self.albumImagePathArray.isEmpty==false){//dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0),{leturls=self.albumImagePathArray.map{NSURL(string:$0)!}letprefetch