views:

3

answers:

0

Here is my code:

switch (indexPath.section) { case Job_SECTION: cell.accessoryType = UITableViewCellAccessoryNone; break; case Description_SECTION: cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; break; default: break; } if (indexPath.section == 0) { cell.selectionStyle = UITableViewCellSelectionStyleNone; } else{ cell.selectionStyle = UITableViewCellSelectionStyleGray; }