如何设置 imageview 平移动画循环
提问如题
代码如下
[UIView animateWithDuration:3 animations:^{
[imageview setTransform:(CGAffineTransformMakeTranslation(-600,0))];
[imageview setAlpha:0];
[imageview setAnimationRepeatCount:0];
}
];
查了下文档说
setAnimationRepeatCount设置成0就是循环动画,但是我设置后动画就运行一次,不知如何解决谢谢!
[解决办法]
呃。。。恭喜LZ,我来接分
[解决办法]