Resize UITableViewCell to show image at maximum size

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-04-20T00:09:05Z Indexed on 2010/04/20 0:13 UTC
Read the original article Hit count: 708

Filed under:

I want to show some images and text in a UITableView.

But when I add the image to its UITableViewCell it breaks the layout and overlaps with the next Header.

How can I set the size of the cell containing the image, so that the layout doesn't get broken?

I found some ObjC-Code which suggest this can be done by using heightForRowAtIndexPath, but I couldn't find anything MonoTouch specific.

© Stack Overflow or respective owner

Related posts about monotouch