IOS 简单的 加减分 动画
2014-03-04 09:33
204 查看
使用 shapeLayer 当动画层 其实以前有写过 类似的了
github: https://github.com/li6185377/AddScore
github: https://github.com/li6185377/AddScore
self.pregress = [[CAShapeLayer alloc]init]; _pregress.frame = CGRectMake(15,18, 64,64); _pregress.lineWidth= 3; _pregress.fillColor= [UIColor colorWithWhite:0 alpha:0].CGColor; _pregress.strokeColor = RGBCOLOR(225,140,150).CGColor; _pregress.lineCap = @"round"; _pregress.strokeStart = 0; _pregress.strokeEnd = 0; _pregress.path = CGPathCreateWithEllipseInRect(pregress_bg.bounds, NULL); _pregress.transform = CATransform3DMakeRotation(M_PI, 0, 0, 1); [self.layer addSublayer:_pregress];
相关文章推荐
- IOS 简单的 加减分 动画
- iOS简单的动画效果实现
- ios-序列帧动画核心代码简单介绍以及封装
- iOS UIView简单缩放动画
- iOS简单动画效果
- IOS Animation-CAKeyframeAnimation例子(简单动画实现)
- ios学习笔记(三)简单动画
- iOS UI-三种简单的动画设置
- iOS UIImageview实现简单动画
- iOS开发之简单动画
- iOS开发UI篇—iOS开发中三种简单的动画设置
- iOS TableView给力动画的简单实现(一)
- IOS 开发UI篇—iOS开发中三种简单的动画设置
- iOS动画 过渡/转场动画的简单应用
- iOS动画简单使用及介绍
- 【iOS开发系列】tableViewCell简单动画
- Swift开发:iOS那些简单的动画
- 【iOS学习笔记 15-11-06】简单自定义navigationcontroller push和pop动画效果
- IOS 图形和简单的动画处理代码片段
- IOS-简单动画