//设置选中的方式。一共有三种。 cell.selectionStyle = UITableViewCellSelectionStyleNone; //三种效果 typedef enum { UITableViewCellSelectionStyleNone, UITableViewCellSelectionStyleBlue, UITableViewCellSelectionStyleGray } UITableViewCellSelectionStyle; //选中后的字体颜色设置 cell.resultTableContent.highlightedTextColor = [UIColor blackColor];
转载于:https://www.cnblogs.com/qingjoin/archive/2012/09/05/2672325.html
本文介绍了如何在UITableView中设置UITableViewCell的选中样式,包括三种不同的选择风格:无样式、蓝色和灰色,以及如何设置单元格在选中状态下的字体颜色。
1273

被折叠的 条评论
为什么被折叠?



