Malay Patel
Malay Patel

Reputation: 41

UIRefreshControl is not worling in landscape mode

My working Code :

-(void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate
{
    if (self.collectionView.contentOffset.y < -80 && ![self.pullDownRefreshControl isRefreshing])
    {
        [self.pullDownRefreshControl beginRefreshing];
    }
}

Upvotes: 0

Views: 228

Answers (1)

Bhavin
Bhavin

Reputation: 27225

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.

Upvotes: 1

Related Questions