iOS8上显示正常,iOS7上编辑状态不显示前面的减号,显示为空白,怎么解??
返回编辑类型时有问题
正确的:
(UITableViewCellEditingStyle)tableView:(UITableView )tableView editingStyleForRowAtIndexPath:(NSIndexPath )indexPath
{
return UITableViewCellEditingStyleDelete;
}
你是不是在自定义 Cell 时把内容添加到 self 而不是 self.contentView 了?
[self addSubview:]
和 [self.contentView addSubview:]
在 iOS 7 上还是有点区别的。