0

我有一个静态表视图,它将充当 Core Data 中信息的添加器/编辑器。有些信息有多个字符串(如 iOS 联系人中的字段)。我想用(+)按钮更改一些删除按钮圆圈(-)。我怎样才能做到这一点?我正在寻找类似于联系人的东西。

提前感谢您的帮助!

4

1 回答 1

0

覆盖此 UITableViewDelegate 方法

- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{
    return UITableViewCellEditingStyleInsert;
}
于 2013-08-14T21:07:44.143 回答