[Solved] UILabel position in a UITableViewCell fails on the first try
If I do any complex layout in a UITableViewCell I try to keep it out of cellForRowAtIndexPath. One option is to do layout in – (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath but I prefer to encapsulate layout in a custom UITableViewCell class. Make your own UITableViewCell subclass. Create and add the custom button / label … Read more