【发布时间】:2015-03-12 03:06:02
【问题描述】:
我的 UITableView 中的一些行需要在编辑模式下删除和移动,但有些只是移动。 在这种方法中,我可以启用或禁用某些行的编辑
override func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool{
return true
}
但是如何在启用移动的情况下禁用某些行的删除?
【问题讨论】:
标签: ios uitableview swift