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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -