iphone - 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]; } }
according question : uirefreshcontrol in landscape , it's bug (see comments of dave delong's answer), can try answers given in question.
Comments
Post a Comment