1、UITableViewCell
(1)属性
-(UITableViewCell*)tableView:(UITableView*)tableViewcellForRowAtIndexPath:(NSIndexPath*)indexPath
{
Cell.selectionStyle = UITableViewCellSelectionStyleNone; //禁用高亮状态
Cell.userInteractionEnabled = NO; //禁用点击cell Action 事件
}
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3