29,027
社区成员
发帖
与我相关
我的任务
分享
func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
return true
}
func tableView(_ tableView: UITableView, titleForDeleteConfirmationButtonForRowAt indexPath: IndexPath) -> String? {
return "删除"
}
实现这两个协议方法应该就不会了,我就是这么用的