Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个静态表视图,它将充当 Core Data 中信息的添加器/编辑器。有些信息有多个字符串(如 iOS 联系人中的字段)。我想用(+)按钮更改一些删除按钮圆圈(-)。我怎样才能做到这一点?我正在寻找类似于联系人的东西。
提前感谢您的帮助!
覆盖此 UITableViewDelegate 方法
- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{ return UITableViewCellEditingStyleInsert; }