ios给控件添加动画效果
摘要:
首先要在framework中引入QuatrtzCore.framework,在头文件中需要#import<QuartzCore/QuartzCore.h>CATransition *animation = [CATransition animation]; [animation setDuration:1.25f]; [animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn]]; [animation setType:@"cube&qu 阅读全文
posted @ 2012-09-19 19:39 南瓜饼 阅读(588) 评论(0) 推荐(0) 编辑