草庐IT

descendantWillPresentViewControll

全部标签

ios - 尝试在异常 : _descendantWillPresentViewController 中呈现模态结果

我遇到了一个非常奇怪的问题。此代码在iOS8中运行良好,但现在在iOS9中会导致崩溃。我所做的只是模态地呈现一个ViewController:[selfpresentViewController:viewControllerToPresentanimated:YEScompletion:nil];但是这会导致异常:-[TTSplitViewController_descendantWillPresentViewController:modalSourceViewController:presentationController:animated:]:unrecognizedselect