当我使用 ECSlidingviewController 解散到控制器的最后一个时,返回到顶部控制器而不是父级;
我的控制器在情节提要中像这样订购;
InitialViewController (UIViewController) --> HomeNavigationController (UINavigationController) --> HomeController (UIViewController) --> MovieDetailController (UIViewController) --> CommentViewController (UIViewController)
在此之后呈现 CommentViewController 之前没有问题,它返回 InitialViewController
日志:MovieDetailController --> CommentViewController:
self = <MovieDetailViewController: 0xb3c15c0>
super = <HomeNavigationViewController: 0xa77c640>
nav_cont = (
"<HomeViewController: 0xa77c930>",
"<MovieDetailViewController: 0xb3c15c0>")
CommentViewController viewDidLoad:
self = <CommentViewController: 0x137154e0>
super = (null)
presenting = <InitialViewController: 0xb34ad70>
nav_cont = (null)
这行有问题:
presenting = InitialViewController: 0xb34ad70
应该是
MovieDetailViewController: 0xb3c15c0