Sportica   Sportica

UITableView cell 被选中效果

//设置选中的方式。一共有三种。
cell.selectionStyle = UITableViewCellSelectionStyleNone;

//三种效果
typedef enum {
    UITableViewCellSelectionStyleNone,
    UITableViewCellSelectionStyleBlue,
    UITableViewCellSelectionStyleGray
} UITableViewCellSelectionStyle;

//选中后的字体颜色设置
 cell.resultTableContent.highlightedTextColor = [UIColor blackColor];
posted @ 2012-09-05 18:11  qingjoin  阅读(3121)  评论(0编辑  收藏  举报
  Sportica