iOS OC 根控制器切换无过度动画加个layer过渡动画

   CATransition  *transtion =[CATransition animation];

    transtion.duration = 0.2;

    transtion.startProgress = 0;

    transtion.endProgress = 1;

    transtion.type = @"rippleEffect";;

    transtion.type = kCATransitionPush;

    transtion.subtype = kCATransitionFromRight;

 [self.navigationController popToRootViewControllerAnimated:YES];

 [[UIApplication sharedApplication].keyWindow.layer addAnimation:transtion forKey:@"anmotion"];


没有更多推荐了,返回首页