Quoted from:
UIViewCont
roller Class Reference
http://developer.app le.com/lib rary/ios/#documentat ion/UIKit/ Reference/ UIViewCont roller_Cla ss/Referen ce/Referen ce.html#//apple_re f/doc/c_re f/UIViewCo ntroller
Example of container view controller s:
- UINavigati
onControll er - UITabBarCo
ntroller
To implement a Container View Controller
Subclass UIViewCont
- addChildVi
ewControll er: - removeFrom
ParentView Controller - transition
FromViewCo ntroller:t oViewContr oller:dura tion:optio ns:animati ons:comple tion: - willMoveTo
ParentView Controller : - didMoveToP
arentViewC ontroller:
Using containmen t methods in UINavigati onControll er
pushViewCo
- addChildVi
ewControll er - transition
FromViewCo ntroller:t oViewContr oller:dura tion:optio ns:animati ons:comple tion:
popViewCon
- removeFrom
ParentView Controller - transition
FromViewCo ntroller:t oViewContr oller:dura tion:optio ns:animati ons:comple tion:
posted by
satoko
on Fri 28 Oct 2011
at 10:37