Reputation: 12335
So I have UITableViewCells
which are like Rows stacked one below the other.
Can I redefine
each row (from it's rectangular structure) and make it appear like an icon
(like a square button or a thumbnail
, as you call it ) instead of looking like a default row which runs for the whole width ?
Is it possible for resize each row to fit them like thumbnails ? or Should I just go with UIButtons ?
Well... I already have a good table structure. I am looking at making changes to my app at minimal cost. My best bet would be to resize EACH row to look like an icon, with a background image.
any help ?
Upvotes: 0
Views: 216
Reputation: 14419
By design a UITableViewCell
== a row.
To do what you are asking for you have to do a UItableViewCell
containing a row of icons.
You could also think about using some existing component like the three20 TTPhotoViewController
:
Upvotes: 3