模态视图的 弹出方式

ShoolListView * shoolListView = [[ShoolListView alloc]init];

    

    YYCViewController * home = (YYCViewController *)self;

    

//    home.interactionEnabled = YES;

    

//    home.animationController = [[YYCSlideAnimation alloc]init];

    

//    home.animationController.type = CCSlideAnimationFromTop;

    

//    if ([self respondsToSelector:@selector(setTransitioningDelegate:)]){

//        shoolListView.transitioningDelegate = self.transitioningDelegate;

//    }

    

    

    shoolListView.modalTransitionStyle =UIModalTransitionStylePartialCurl;

    

    

    

    [self presentViewController:shoolListView animated:YES completion:^{

        

    }];

    

 

posted on 2016-12-08 08:51  举个例子yi聪聪  阅读(123)  评论(0编辑  收藏  举报

导航