resizing UITableView to fit content

Posted by MiMo81 on Stack Overflow See other posts from Stack Overflow or by MiMo81
Published on 2010-04-07T19:00:06Z Indexed on 2010/04/07 19:03 UTC
Read the original article Hit count: 343

I am creating an app which will have a question in a UILabel and a multiple choice answers displayed in UITableView, each row showing a multiple choice. Questions and answers will vary, so I need this UITableView to be dynamic in height.

I would like to find a "sizeToFit" work around for the table. Where the table's frame is set to the height of all it's content.

Can anyone advise on how I can achieve this? Thank you.

© Stack Overflow or respective owner

Related posts about uitableviewcontroller

Related posts about uitableview