Grouped table with image in first row (and section), the remaining ones having text with different l
Posted
by Structurer
on Stack Overflow
See other posts from Stack Overflow
or by Structurer
Published on 2010-06-10T08:36:10Z
Indexed on
2010/06/10
8:43 UTC
Read the original article
Hit count: 149
Hi
I have a grouped table with two sections where I display text with different length and therefore cell height.
I have solved the problem with the different length/height with constrainedToSize in cellForRowAtIndexPath.
Now I want to add a section with one single row in which I want to show a picture.
How should I best implement that? (still a bit of a beginner with the Objective C)
I would guess that I would have to create an UIImageView and somehow link that to the cell, but my biggest concern is how do I do with the dequeueReusableCellWithIdentifier now that I will have two different type of cells?
Appreciate any advice that will help me save time from trial and error!
© Stack Overflow or respective owner