相关疑难解决方法(0)

如何防止NSFetchedResultsController在控制器消失时更新tableview?

I have a UITabbar with multiple controllers in it. One of the controllers is used to add Events to Core Data, while another controller is used to display events as in a UITableView using NSFetchedResultsController.

Here's the behaviour that I would like to achieve: Upon disappearing, the UITableView stops updating, and when the user comes back, the entire table view is reloaded. Otherwise, inserting events from the other controller takes longer, as new rows are created in the UITableView …

iphone core-data objective-c nsfetchedresultscontroller ios

6
推荐指数
1
解决办法
2865
查看次数