【发布时间】:2014-03-22 14:06:17
【问题描述】:
我以这种方式将 border 宽度和颜色设置为 UIView 子类:
- (void) setViewBorder
{
self.layer.borderColor = [UIColor greenColor].CGColor;
self.layer.borderWidth = 3.0f;
}
我的问题是:如何制作动画?谢谢。
【问题讨论】:
-
您要制作什么动画?边框外观?还是轮换?
-
@ValentinShamardin 边框外观。和换帧动画一样的效果。
标签: ios objective-c calayer