---
title: "How to add an image on UITableView cell in iOS?"  
description: "How to add an image on UITableView cell in iOS?"  
author: "Anonymous User"  
published: 2015-12-24  
updated: 2015-12-25  
canonical: https://www.mindstick.com/forum/33784/how-to-add-an-image-on-uitableview-cell-in-ios  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# How to add an image on UITableView cell in iOS?

I have a [Table view](https://www.mindstick.com/forum/33654/send-table-view-cell-value-on-button-action-in-ios) in our app. I want to [add](https://www.mindstick.com/forum/12983/add-address-in-textbox-when-page-is-load-and-if-i-search-address-in-textbox-show-in-map-by-javascript) an [image](https://www.mindstick.com/articles/23551/an-investigate-distinctive-seafood-restaurant-for-your-image-stamp-character) in our table view cell.\
Please provide [me the code](https://www.mindstick.com/forum/156831/can-you-tell-me-the-code-to-write-a-c-sharp-program). Thanks.

## Replies

### Reply by Tarun Kumar

If you want to add image into the [table](https://www.mindstick.com/articles/43918/how-to-design-table-using-bootstrap) cell, use code like this:

```
UIImageView *img = [[UIImageView alloc]initWithFrame:CGRectMake(1,1, 25, 35)];img.image=[UIImage imageNamed:@"imageName.png"];[cell addSubview:img];[img release];
```


---

Original Source: https://www.mindstick.com/forum/33784/how-to-add-an-image-on-uitableview-cell-in-ios

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
