Question: I want to implement a listview, on which swiping opens up the `actions` that we can do with that item. I have attached an image.

![enter image description here](https://i.stack.imgur.com/j0ayI.jpg)

Answer: 
If you have saved different image in documents directory but at the time of loading in tableview cell, it is showing one image, then just set image of your imageview to Nil before setting new image like below:

```
cell.imageView.image = Nil;

```
By using the below code we can asynchronously paste image on table view cell.

```
NSString *imageName=[NSString stringWithFormat:@"%@.png",d.emailId];

UIImage *image = [self loadImage:imageName];  
if (image==nil)
{
    [imgProfilePic setImage:[UIImage imageNamed:@"userEdit.png"]];
}
else
{
    [imgProfilePic setImage:image];
}
photos =image;

NSLog(@"^^^^^^^^^^^^^^%@",photos);

[cell.contentView addSubview:imgProfilePic];

```