我有一个MainViewController
,其中包含delegate
和datasource
的iCarousel项目。在应用程序中工作时一切正常。
我在{<1}}内部编码的方法
didReceiveRemoteNotification
这会调用[[NSNotificationCenter defaultCenter] postNotificationName:@"fetchAndLoad" object:nil];
函数,该函数又调用iCarousel的MainViewController
函数。我确定正在调用fetchAndLoad,但reloadData
不是。仅当应用程序再次进入前台时才会调用reloadData。
此问题是否与reloadData
委托有关,我该如何解决?