我有一个UITableViewCell不在 a UITableViewor内的人TableViewController。我想在UITableViewCell选择或触摸它时更改颜色。执行此类任务的最佳方法是什么?我尝试使用表格视图单元格选择委托,但它对我不起作用。现在我UITableViewCell在选择或触摸时甚至不会改变颜色。任何提示或建议将不胜感激。这是我IBOutlet的UITableViewCell
。H
@property (weak, nonatomic) IBOutlet UITableViewCell *cellLocation;