Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
- [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
- [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- {
- // A case was selected, so push into the CaseDetailViewController
- UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
- if (![cell selectionStyle] == UITableViewCellSelectionStyleNone) {
- // Handle tap code here
- }
- }
- [tableView setAllowsSelection:NO];
- [cell setUserInteractionEnabled:NO];
- [tableView setUserInteractionEnabled:NO];
- cell.userInteractionEnabled = NO;
- tableView.allowsSelection = NO;
- cell.selected = NO;
Add Comment
Please, Sign In to add comment