I want to setContentOffset
with different animation transition.
Now I use:
[UIScrollView animateWithDuration:speed animations:^ {
[scrollView setContentOffset:offset];
}];
Can you help me, How I achieve animation during set offset.
I want to setContentOffset
with different animation transition.
Now I use:
[UIScrollView animateWithDuration:speed animations:^ {
[scrollView setContentOffset:offset];
}];
Can you help me, How I achieve animation during set offset.
我不太确定,我明白你在找什么。但是,如果您正在寻找一个使用非线性计时函数进行动画处理的UIScrollView
类,您可能会喜欢我的MOScrollView。我使用 a为. 不过,请注意它可能无法完美运行,因为我还没有在生产中使用这个类。contentOffset
CADisplayLink
contentOffset