开发者

UITableViewCell as Icons ( Thumbnails )

开发者 https://www.devze.com 2023-03-14 03:29 出处:网络
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 thumb

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 possib开发者_StackOverflowle 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 ?


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:

UITableViewCell as Icons ( Thumbnails )

0

精彩评论

暂无评论...
验证码 换一张
取 消