错误的转型背景

时间:2017-12-21 14:32:25

标签: ios swift

我有ContainerViewController,其中包含ChildViewController。现在,我想使用自定义转换来展示ChildViewController ModalViewController

问题在于我的UIViewControllerTransitioningDelegate方法

func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {}

提供ContainerViewController作为presenting常量。

有没有办法让ChildViewController作为呈现常数?

谢谢!

0 个答案:

没有答案