根据单元格的位置动画UITableViewCell

时间:2014-05-25 20:52:55

标签: ios objective-c uitableview

我想根据滚动过程中单元格的位置来设置UITableViewCell的动画。 我的UITableViewCell包含一个显示在UIImage类中的图像。原始图像的高度高于可见帧的高度。在滚动期间,图像应在UIImage内滚动。

大多数教程或StackOverflow问题/答案建议使用animateWithDuration。那不是我想要做的。 UIImage类内部的滚动取决于TableView的滚动速度。

我添加了一些图片来说明我的意思。

有什么想法吗?

感谢您的帮助。

enter image description here

enter image description here

enter image description here

0 个答案:

没有答案