hellosheikh hellosheikh - 3 months ago 5
Swift Question

Image in a tableView gets bigger during swipe left to delete

hello I when I do swipe left in tableView, the image gets bigger and push to the second row. here is the image for better understanding
enter image description here

The image is pushing to the second row.How can I fix this.

Answer

Try setting clipsToBounds = true on the image view of the cell and that should do it - it looks like the image is simply displaying its content outside of its bounds.

Comments