This is the first part of tutorial aimed at increasing comfort level with auto layout as its all about how well you understand auto layout. First thing about auto layout is,either you hate it or you love it,there is no scope for ignoring it. Auto layout is not a new kid in the block it is well established and it will either bully you or be your friend choice is yours. The tutorial is aimed at understanding auto layout and communicating auto layout. I have divided the tutorial in two parts
Dynamic height UITableViewCell using Auto layouts
How to create dynamic height tableview cell has been a very daunting task especially when you have to calculate and return variable row height in [code]- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;[/code] But with autolayouts its very simple.you just have to make sure that the constraints of the tableview cell subviews are added in such a way … Read more