加载动态滚动条
2015-10-14 14:24
369 查看
_button2 = [UIButton buttonWithType:UIButtonTypeCustom]; _button2.backgroundColor = RGBCOLOR(50, 57, 66); _button2.frame = CGRectMake(0, 64, self.view.width, 4); _button = [UIButton buttonWithType:UIButtonTypeCustom]; _button.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:0.4]; _button.frame = CGRectMake(self.view.width/2, 64, 0, 4); [UIView animateWithDuration:1.0 delay:0 options:UIViewAnimationOptionRepeat | UIViewAnimationOptionAutoreverse animations:^{ _button.frame = CGRectMake(0, 64, self.view.width, 4); } completion:nil]; [self.view addSubview:_button2]; [self.view addSubview:_button];
相关文章推荐
- canvas保存为data:image扩展功能的实现
- Android 5.1 AppOps总结
- android-volley-manager
- 编辑推荐
- 音频界的瑞士军刀 --- SoX - Sound eXchange 国外开源音频处理软件介绍(一)
- 《深入理解java虚拟机》之类文件结构
- can not be used when making a shared object; recompile with -fPIC
- jquery中常用的一些方法
- 中国(北京)3d虚拟现实,工业仿真技术及产品展览情况
- 建模语言UML笔记整理之开篇概述
- unity 音乐播放器的制作
- 中国十大禁片电影,国外、世界十大禁片电影
- 如何解决在Azure上部署Sqlserver网络访问不了
- DESearchAlgorithm
- 使用Dom4j解析XML
- Android 判断是开发debug模式,还是发布release模式
- Javascript截图相关参考项目
- 如何导出android系统中的某一分区
- 3. Magento 模板制作
- lua string库