table reloadData not working

前端 未结 2 522
不思量自难忘°
不思量自难忘° 2021-01-28 05:17

i am using following code to delet a row from tableview as well from db , the row is delted from the db at once but its not delted from the tableview till i back back and th chk

2条回答
  •  无人及你
    2021-01-28 05:30

    What is self.table? Is it your class variable for your UITableView? You should note that you can also reference the UITableView directly since it is passed into that method as tableView. I dunno if your table variable isn't setup correctly (through Interface Builder) or what, but I'd try using the tableView variable.

提交回复
热议问题