我有一个MainViewControllerwhich has delegateand datasourcefor a iCarousel 项目。在应用程序中工作时一切正常。
didReceiveRemoteNotification我在下面的行中编码的内部方法
[[NSNotificationCenter defaultCenter] postNotificationName:@"fetchAndLoad" object:nil];
这调用了一个MainViewController函数,该函数又调用了reloadDataiCarousel 的函数。我确定正在调用 fetchAndLoad,但 reloadData不是。只有当应用再次进入前台时才会调用 reloadData。
这个问题是否与MainViewController委托有关,我该如何解决?