0 Replies
      Latest reply on Mar 12, 2019 6:00 PM by mhmmdmz
      mhmmdmz Level 1 Level 1 (0 points)

        I'm implementing a tableview where the contents (including the image) are sourced from a JSON - stored on a remote storage server.

        Everything works fine, except the fact that when a user touches a cell, the image bloats up/ magnifies; while if I were to load the image from the phone's storage instead, none of this happens and it works normally. How do I fix this?


        I've researched around but couldn't find anyone who's faced a similar situation.


        I've used a library called "Imaginary" to add a placeholder in case the intended image wasn't downloaded correctly and set the image using this function:


                        cell.imageView?.setImage(url: imageURL, placeholder: placeholder)



        The library directly downloads the image to the user's phone and uses it to populate the tableView's imageView