IB Custom UITableViewCell - Dynamic Height for cell and detailText

Im trying to create a table very similar to the Messages table,

It requires 3 labels, - Title - detailText - Time (on the far right side)

The detail text needs to be dynamic height and so does the actual tableViewCell

is it possible to make a dynamic height tableViewCell in IB?

Answers


Yes you can,

Just use this method to of the UITableViewDelegate

tableView:heightForRowAtIndexPath:

Need Your Help


About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.