Skip to content

Instantly share code, notes, and snippets.

@ailourophile
Last active August 29, 2015 13:57
Show Gist options
  • Save ailourophile/9758519 to your computer and use it in GitHub Desktop.
Save ailourophile/9758519 to your computer and use it in GitHub Desktop.
Set the UITableView row height (UITableViewDelegate Protocol)
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.section == 2) {
return 44.0;
} else {
return 60;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment