Corona中文站

强大、易学的跨平台(iOS/Android)开发框架。QQ群1:74390406(满) 群2:221929599

导航

使用uilabel实现跑马灯效果
CGRect frame = labelShow.frame;


frame.origin.x = -180;


labelShow.frame = frame;



[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];
<< 自定义UINavigationBar背景图片objective-c简单的读写文件方法 >>

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

最近发表

Powered By Z-Blog 1.8 Walle Build 100427 Copyright 2011-2015 BuildApp.Net. All Rights Reserved.