Skip to content

Conversation

@mplulu
Copy link

@mplulu mplulu commented Nov 19, 2014

Using the refresh control with scrollview with content inset top 0 (can cause by self.edgesForExtendedLayout = UIRectEdgeNone;) will cause original content inset to be set as the content inset after the refresh control has started animating -> it will not go back to content inset 0. You can test it easily by comment out the line to set self.edgesForExtendedLayout in the sample project. To fix it, only set self.originalTopContentInset when state is still Idle (no pull refresh has occurred)

…he refresh control to use the inset after the animation init to set as the original content inset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant