1.获取tableview中的cell
ContentTVCell *cell=(ContentTVCell*)[self tableView:self.jokeTableView cellForRowAtIndexPath:indexPath];
NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:1];[self.baseTableView reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];
2. cell的选中状态
self.selectionStyle = UITableViewCellSelectionStyleNone;
UIColor* color=[[UIColor alloc]initWithRed:0.0 green:0.0 blue:0.0 alpha:1];
cell.selectedBackgroundView=[[UIView alloc]initWithFrame:cell.frame]autorelease];
cell.selectedBackgroundView.backgroundColor=[UIColor ***]或color;
cell.selectedBackgroundView=[[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"123.png"]]autorelease];
cell.textLabel.highlightedTextColor=[UIColor **color];
3.隐藏UITableViewCell的分隔线
[chatTableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
4.定义UITableViewCell的样式
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator