0
マークキーを取得してからUITableView
swift 3から削除するにはどうすればよいですか?SwiftのFirebaseから特定のキーを削除する方法3
override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCellEditingStyle, forRowAt indexPath: IndexPath) {
if editingStyle == .delete {
self.grocery.remove(at: indexPath.row)
self.tableView.deleteRows(at: [indexPath], with: .automatic)
}
}
を、私はあなたが必要とするすべてはあなたのテーブルを更新することだと思いますが、ソース配列から項目を削除した後、 – Almazini