سؤال

My working Code :

-(void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate
{
    if (self.collectionView.contentOffset.y < -80 && ![self.pullDownRefreshControl isRefreshing])
    {
        [self.pullDownRefreshControl beginRefreshing];
    }
}
هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top