iOS巅峰之跑马灯
来源:互联网 发布:中国网络企业 编辑:程序博客网 时间:2024/04/27 04:29
// self.labelShow = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 30)];
// [v.vc addSubview:self.labelShow];
// self.labelShow.textColor = [UIColor whiteColor];
//
// // labelShow.backgroundColor = [UIColor redColor];
// self.labelShow.text = @"upuofsidpouiuyufdslwrwerwerewrwerwerwerwrwerwerwrwfhsodfhsildfhsaldkfsafopiasudfiopasudfsfsadfasfasfdfiopsd";
//
// [self.labelShow sizeToFit];
// CGRect frame = self.labelShow.frame;
// frame.origin.x = 320;
// self.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 = self.labelShow.frame;
// frame.origin.x = -frame.size.width;
// self.labelShow.frame = frame;
// [v.vc addSubview:self.labelShow];
// self.labelShow.textColor = [UIColor whiteColor];
//
// // labelShow.backgroundColor = [UIColor redColor];
// self.labelShow.text = @"upuofsidpouiuyufdslwrwerwerewrwerwerwerwrwerwerwrwfhsodfhsildfhsaldkfsafopiasudfiopasudfsfsadfasfasfdfiopsd";
//
// [self.labelShow sizeToFit];
// CGRect frame = self.labelShow.frame;
// frame.origin.x = 320;
// self.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 = self.labelShow.frame;
// frame.origin.x = -frame.size.width;
// self.labelShow.frame = frame;
// [UIView commitAnimations];
0 0
- iOS巅峰之跑马灯
- iOS巅峰之NSRunLoop
- iOS开发之跑马灯
- iOS开发之跑马灯
- iOS 跑马灯之 TXScrollLabelView
- ios巅峰之SQ数据库
- IOS巅峰之UICollectionView详解
- iOS巅峰之SBJSON解析
- iOS巅峰之label描边
- IOS的跑马灯之HelloWorld
- IOS巅峰之归档与反归档
- IOS巅峰之图片异步下载
- iOS巅峰之UI视图动画详解
- iOS巅峰之Swift笔记详解(上)
- iOS巅峰之键盘回收方法
- iOS巅峰之背景添加毛玻璃
- iOS巅峰之NSURL 基本方法 absoluteString
- iOS巅峰之MVC(设计模式)详解
- Android震动vibrator系统开发全过程
- AD620放大线路应用
- android开发之 android.app.fragment与android.support.v4.fragment之间的区别
- Android应用程序插件化研究之dexmaker动态生成Activity
- BCB listview 每列显示图标
- iOS巅峰之跑马灯
- 正则表达式
- MyEclipse下用tomcat部署web项目时,tomcat项目文件夹webapps下的项目发布的不完整
- 轻量级 javaee Struts2Demo 无法正确返回jsp页面
- 【CQTSC2016】路由表 题解
- JS 模块化工具requierjs 学习笔记
- Effective STL 条款15-16
- 自定义地图覆盖物(包括自定义View和动画的显示)
- jxl创建excel