题
我已经把这段代码:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell * tableCell = [self.tableView cellForRowAtIndexPath:indexPath];
tableCell.accessoryType = UITableViewCellAccessoryCheckmark;
[tableView deselectRowAtIndexPath:(NSIndexPath *)indexPath animated:YES];
}
但由于某些原因,对号不会出现。可能有人帮助?
解决方案
其实,我想通了,这就是做正确的方式,它只是它有一个黑色的BG所以这是很难看到的。
不隶属于 StackOverflow