这应该很简单,但它不能像在parentViewController中那样工作,并且presentViewController返回nil;
我将子视图控制器呈现为容器视图,
[self addChildViewController:childViewController];
[childViewController didMoveToParentViewController:self];
[self.view addSubview:childViewController.view];
如何从此容器视图访问父视图控制器?