IOS中为tableViewCell增加右侧标记(选中或者更多)

if ([self.selectWys containsObject:[self.initCitys objectAtIndex:indexPath.row]]) {
   tvCell.accessoryType = UITableViewCellAccessoryCheckmark;   
 }
else
 {
    tvCell.accessoryType = UITableViewCellAccessoryNone;
 }

 

posted @ 2013-06-25 15:07  ygm900  阅读(7006)  评论(0编辑  收藏  举报