Closed harryzjm closed 8 years ago
Hi,请问您的demo是最新的版本嘛?
if scrollView.isDecelerating {
var contentOffset = scrollView.contentOffset
contentOffset.y = min(contentOffset.y, scrollView.contentSize.height - scrollView.frame.size.height)
scrollView.setContentOffset(contentOffset, animated: false)
}
这一部分主要是想解决这样一个场景:当loadingmore的时候,scrollview还保持着惯性滑动,体验很奇怪。 我没有看懂您的建议是指改动哪个地方?
已修改,目前在swift3的分支😄~
是这个意思!👍
dome中 把 DefaultTableViewController 中
数据量改为2行 即 缩小到 并没有占满一屏 上拉刷新 改为
会使得在 ESRefreshFooterView.stopAnimating方法 中的scrollView.decelerating为true
造成 执行了
使cell弹到了 下半屏
建议