欢迎光临
我们一直在努力

炫酷转场动画-iOS

建站超值云服务器,限时71元/月

炫酷转场动画-iOS

项目介绍:

1.gif2.gif

3.gif4.gif

5.gif6.gif

7.gif

使用方法

1、导入头文件UIViewController+HHTransition
2、调用如下方法,基本只需要一句话,无侵入,API简单易用

        case 0:
            [self.navigationController hh_presentCircleVC:[CircleViewController new] point:_touchPoint completion:nil];
            break;
        case 1:
            [self.navigationController hh_presentBackScaleVC:[BackScaleViewController new] height:400 completion:nil];
            break;
        case 2:
            [self.navigationController hh_presentErectVC:[CircleViewController new] completion:nil];
            break;
        case 3:{//需要重写 hh_transitionAnimationView
           InterScaleViewController *interScale = [InterScaleViewController new];
            interScale.imageName = [UIImage imageNamed:@"1.jpg"];
            [self.navigationController hh_pushScaleViewController:interScale];
        }
            break;
        case 4:{//需要重写 hh_transitionAnimationView
            InterScaleViewController *interScale = [InterScaleViewController new];
            interScale.imageName = [UIImage imageNamed:@"2.jpg"];
            [self.navigationController hh_pushScaleViewController:interScale];
        }
            break;
        case 5:
            [self.navigationController hh_pushTiltViewController:[CircleViewController new]];
            break;
        case 6:
            [self.navigationController hh_pushErectViewController:[CircleViewController new]];
            break;
        case 7:
            [self.navigationController hh_pushBackViewController:[CircleViewController new]];
            break;
        default:
            break;

下载地址:Github

支持cocoapod

target 'MyApp' do
  pod 'HHTransition', '~> 1.0'
end

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 炫酷转场动画-iOS
分享到: 更多 (0)