iOS UITableViewCell 提供了 accessoryType 属性用来设置 cell 右侧图标,在黑暗模式下使用,发现按钮的颜色比较暗。
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator
通过自定义右侧图标来解决这个问题
if (cell == nil) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
UIImageView *accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"accessoryViewImage"]];
cell.accessoryView = accessoryView;
}
// ...