首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Iphone >

怎么设置 imageview 平移动画循环

2013-01-04 
如何设置 imageview 平移动画循环提问如题代码如下[UIView animateWithDuration:3 animations:^{[imagevie

如何设置 imageview 平移动画循环
提问如题

代码如下
[UIView animateWithDuration:3 animations:^{
[imageview setTransform:(CGAffineTransformMakeTranslation(-600,0))];
[imageview setAlpha:0];
[imageview setAnimationRepeatCount:0];
}
];


查了下文档说
setAnimationRepeatCount设置成0就是循环动画,但是我设置后动画就运行一次,不知如何解决谢谢!
[解决办法]
呃。。。恭喜LZ,我来接分
[解决办法]
怎么设置 imageview 平移动画循环

热点排行