how do i make the json fetching images on ios swift much faster?

You need to load image asynchronously. You can use SDWebImage library which can additionally do caching as well. The usage is simple.

imageView.sd_setImage(with: URL(string: "http://www.example.com/path/to/image.jpg"), placeholderImage: UIImage(named: "placeholder.png"))

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top