i want to add a UIimabeView inside table view cells to disyplay images (5 images on tap) no is it pissible to show Images in table cells??/
A:
If you want to add views to a cell, add them to the contentView
of the cell:
UIImageView *myImageView = ...;
[cell.contentView addSubview:myImageView];
Mike Weller
2010-07-27 10:23:46
thanks a lot :-)
ram
2010-07-28 01:26:58
+1
A:
Yes it is possible. You can add it to the cell's contentView in TableView's cellForRowAtIndexPath method.
Alternatively, you can create a custom tableview cell if you want to avoid the hassle of adjusting the imageView's positions in the code and you can just set the images for these image view in the cellForRowAtIndexPath method.
lukya
2010-07-27 10:29:48