2

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.

4

1 回答 1

1

我不太确定,我明白你在找什么。但是,如果您正在寻找一个使用非线性计时函数进行动画处理的UIScrollView类,您可能会喜欢我的MOScrollView。我使用 a为. 不过,请注意它可能无法完美运行,因为我还没有在生产中使用这个类。contentOffsetCADisplayLinkcontentOffset

于 2012-10-25T14:39:33.767 回答