当我使用大型标题导航栏时,下拉时不会触发为ScrollView添加的UIRefreshcontrol
{
self.scrollView.refreshControl = [[UIRefreshControl alloc] init];
[self.scrollView bringSubviewToFront:self.scrollView.refreshControl];
// add target
}
当我使用普通的小标题时,它会通过触发事件开始工作
如何使它适用于大型游戏?
我前一段时间遇到了同样的问题,对我而言,我可以通过在scrollView.refreshControl.didMoveToSuperview()
中调用viewDidAppear
来使其工作。