Skip to content

Instantly share code, notes, and snippets.

@mactive
Created October 19, 2012 08:17
Show Gist options
  • Save mactive/3916905 to your computer and use it in GitHub Desktop.
Save mactive/3916905 to your computer and use it in GitHub Desktop.
UITableViewCellSelectionStyleNone
cell.selectionStyle = UITableViewCellSelectionStyleNone;
//设置了成了 StyleNone 之后
cell.selectedBackgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"cell_bg_highlighted.png"]];
//不起作用
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment