| 716 | } |
| 717 | |
| 718 | void CANavigationController::popViewControllerFinish() |
| 719 | { |
| 720 | CAViewController* backViewController = m_pViewControllers.back(); |
| 721 | backViewController->viewDidDisappear(); |
| 722 | backViewController->m_pNavigationController = NULL; |
| 723 | backViewController->removeViewFromSuperview(); |
| 724 | backViewController->retain()->autorelease(); |
| 725 | m_pViewControllers.popBack(); |
| 726 | |
| 727 | m_pContainers.back()->removeFromSuperview(); |
| 728 | m_pContainers.popBack(); |
| 729 | |
| 730 | m_pSecondContainers.popBack(); |
| 731 | |
| 732 | m_pNavigationBars.popBack(); |
| 733 | |
| 734 | m_pContainers.back()->setLayout(DLayoutFill); |
| 735 | |
| 736 | CAApplication::getApplication()->getTouchDispatcher()->setDispatchEventsTrue(); |
| 737 | } |
| 738 | |
| 739 | // sprhawk@163.com: 2015-03-08 |
| 740 | void CANavigationController::popToRootViewControllerAnimated(bool animated) |
no test coverage detected