hellosheikh hellosheikh - 1 year ago 75
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download