`
zani
  • 浏览: 350404 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论

UIView annimatio重复动画的代码

 
阅读更多

  [UIView beginAnimations:@"testAnimation" context:NULL];

	[UIView setAnimationDuration:8.8f];  
	[UIView setAnimationCurve:UIViewAnimationCurveLinear]; 	
	[UIView setAnimationDelegate:self];  
	[UIView setAnimationRepeatAutoreverses:NO];	 
	[UIView setAnimationRepeatCount:999999]; 
	
	frame = labelShow.frame;
	frame.origin.x = 350;
	labelShow.frame = frame;
	[UIView commitAnimations];  	
 
分享到:
评论
1 楼 doo_24 2011-09-08  
不好用啊 这段代码

相关推荐

Global site tag (gtag.js) - Google Analytics