码迷,mamicode.com
首页 > 其他好文 > 详细

转场动画

时间:2015-08-18 16:51:53      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:

 转场动画是添加给layer的!

  switch (btn.tag) {
  case 0:
  animation.type = @"cube";//---立方体
  break;
  case 1:
  animation.type = @"suckEffect";//103 吸走的效果
  break;
  case 2://前后翻转效果
  animation.type = @"oglFlip";//When subType is "fromLeft" or "fromRight", it‘s the official one.
  break;
  case 3:
  animation.type = @"rippleEffect";//110波纹效果
  break;
  case 4:
  animation.type = @"pageCurl";//101翻页起来
  break;
  case 5:
  animation.type = @"pageUnCurl";//102翻页下来
  break;
  case 6:
  animation.type = @"cameraIrisHollowOpen ";//107//镜头开
  break;
  case 7:
  animation.type = @"cameraIrisHollowClose ";//106镜头关

转场动画

标签:

原文地址:http://my.oschina.net/cao6793569/blog/493943

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!