【发布时间】:2015-07-17 07:40:23
【问题描述】:
我们的APP使用CSStickyHeaderFlowLayout进行视差采集,使用MJRefresh拉取刷新。
但是当拉动之后,有一个奇怪的动画。为了清楚显示,我将动画持续时间设置为 3 秒。动画是:
然后我跟踪MJRefresh的源代码,似乎是以下原因
[UIView animateWithDuration:3 animations:^{
CGFloat top = self.scrollViewOriginalInset.top + self.mj_h;
self.scrollView.mj_insetT = top;// maybe the problem
self.scrollView.mj_offsetY = - top;
} completion:^(BOOL finished) {
[self executeRefreshingCallback];
}];
我猜,UICollectionView 的动画,以及增加 contentInset 碰撞的动画,但我不确定。
你能给我一些线索吗?提前致谢
【问题讨论】:
标签: ios animation uicollectionview