MCPcopy Create free account
hub / github.com/9miao/CrossApp / viewDidUnload

Method viewDidUnload

CrossApp/controller/CAViewController.cpp:432–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432void CANavigationController::viewDidUnload()
433{
434 for (CADeque<CAViewController*>::iterator itr=m_pViewControllers.begin();
435 itr!=m_pViewControllers.end();
436 itr++)
437 {
438 (*itr)->removeViewFromSuperview();
439 }
440
441 for (CADeque<CAView*>::iterator itr=m_pContainers.begin();
442 itr!=m_pContainers.end();
443 itr++)
444 {
445 (*itr)->removeAllSubviews();
446 (*itr)->removeFromSuperview();
447 }
448}
449
450void CANavigationController::viewDidAppear()
451{

Callers 1

Calls 6

removeFromSuperviewMethod · 0.80
getViewMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
removeAllSubviewsMethod · 0.45

Tested by

no test coverage detected