我想在 uinavigation 控制器中实现自定义动画。我已经做到了
CATransition* transition = [CATransition animation];
transition.duration = 0.20f;
transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn];
transition.type = kCATransitionMoveIn;
transition.subtype = kCATransitionFromTop;
[self.navigationController.view.layer addAnimation:transition
forKey:kCATransition];
[self.navigationController pushViewController:viewController animated:NO];
但是当视图控制器弹出时它显示一个白色的背景。我怎样才能删除它由于一些问题我现在不能使用presentmodelviewcontroller