tableView reloadData does not work

后端 未结 2 881
栀梦
栀梦 2021-01-16 07:28

I have a tableview in a tab bar application.

I am loading the data in viewDidLoad

managedObjectContext = nil;
managedObjectContext = [(R         


        
2条回答
  •  说谎
    说谎 (楼主)
    2021-01-16 07:55

    Have you implemented the NSFetchedResultsControllerDelegate methods properly? The FRC should be handling updating the table when it receives a notification of changes from the managed object context...

    Edit: NSFetchedResultsController Class Reference

提交回复
热议问题