摘要:
animation.type=@"pageCurl";pageCurl 向上翻一页pageUnCurl 向下翻一页rippleEffect 滴水效果suckEffect收缩效果,如一块布被抽走cube 立方体效果oglFlip 上下翻转效果animation.type= kCATransitionFade;kCATransitionFade 淡出kCATransitionMoveIn 覆盖原图kCATransitionPush 推出kCATransitionReveal底部显出来animation.subtype =kCATr... 阅读全文
摘要:
[CABasicAnimation animationWithKeyPath:@"position"];animationWithKeyPath后面的属性不能随便填,它必须是CALayer的某项属性,你下面写的代码才会对应的去执行改变该属性的效果。animationWithKeyPath的值:opacitymarginzPositionbackgroundColorcornerRadiusborderWidthboundscontentscontentsRectcornerRadiusframehiddenmaskmasksToBoundsopacitypositionsh 阅读全文