We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在ios8下,egoRefreshScrollViewDidEndDragging的时候,scrollView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f); 会触发egoRefreshScrollViewDidScroll 方法,scrollView.contentOffset.y的值变为60,然后恢复为原先推动的高度值。这个过程会导致跳动闪烁。
可以增加异步调整。 dispatch_async(dispatch_get_main_queue(), ^{ [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.2]; scrollView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f); [UIView commitAnimations]; });
The text was updated successfully, but these errors were encountered:
@zhu410289616 多谢
Sorry, something went wrong.
great!
No branches or pull requests
在ios8下,egoRefreshScrollViewDidEndDragging的时候,scrollView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f); 会触发egoRefreshScrollViewDidScroll 方法,scrollView.contentOffset.y的值变为60,然后恢复为原先推动的高度值。这个过程会导致跳动闪烁。
可以增加异步调整。
dispatch_async(dispatch_get_main_queue(), ^{
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.2];
scrollView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f);
[UIView commitAnimations];
});
The text was updated successfully, but these errors were encountered: