ios - SDWebImage starts to load too late -
in cellforrowatindexpath , using following function inside dequeresuablecell update image in cell let imagensurl = nsurl(string: post.imageurl) let placeholderimage = uiimage(named: "loadingplaceholder")! postimageview.sd_setimagewithurl(imagensurl, placeholderimage: placeholderimage, options: [], progress: { (bytesent: int, byteexpectedtosend: int) in // progress }, completed: { (image: uiimage!, error: nserror!, imagecachetype: sdimagecachetype, url: nsurl!) in if error != nil { print("error \(error.localizeddescription)") } else { // image download complete } }) however, every time cell "just appear", see glimpse of placeholder image. seems sdwebimage sdk starts downloading image close when cell appears on screen. wondering if else experiencing or knows how fixed? ----update---- in response comments i thought cellforrowatindexpath called