According to this SO Question : UIRefreshControl in Landscape , It's a Bug (see the Comments of Dave DeLong's Answer), however you can try the Answers given in the Question.
UIRefreshControl is not worling in landscape mode
-
04-04-2022 - |
سؤال
My working Code :
-(void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate
{
if (self.collectionView.contentOffset.y < -80 && ![self.pullDownRefreshControl isRefreshing])
{
[self.pullDownRefreshControl beginRefreshing];
}
}
المحلول
لا تنتمي إلى StackOverflow