我在我的应用程序中使用NSFetchedResultController和coredata。但是当我插入新记录时NSFetchedResultControllerdelegate方法不会被调用,但是当我尝试删除或更新现有记录时它会起作用。这是我的代码--(void)viewDidLoad{[superviewDidLoad];//Doanyadditionalsetupafterloadingtheview.//fetchfriendsfromDBAppDelegate*appDelegate=[UIApplicationsharedApplication].delegate;self