In this tutorial, we will try to add image from the left side of table view just like General Settings in iPhone/iPod Touch.
First – Create a string that contains source url of image file like “Image Name” and “Image Type”.Then create an Image using this String. Then upload the image to the cell.
NSString *imgSource = [[NSBundle mainBundle] pathForResource:@”jigsaw” ofType:@”png”];
UIImage *img = [UIImage imageWithContentsOfFile: imgSource];
cell.image = img;
Note : The jigsaw.png should be in your “Resources” folder in XCode.