¡@

Home 

2014/10/15 ¤U¤È 10:15:03

iphone Programming Glossary: tovc

Proper usage of transitionFromViewController:toViewController:duration:options:animations:completion:

http://stackoverflow.com/questions/8453653/proper-usage-of-transitionfromviewcontrollertoviewcontrollerdurationoptionsa

options animations completion properly. Is this correct assuming I want to swap a VC with another Assume fromVC and toVC view controllers are defined and fromVC is already added as a child view controller self addChildViewController toVC self.. toVC view controllers are defined and fromVC is already added as a child view controller self addChildViewController toVC self transitionFromViewController fromVC toViewController toVC duration 0.3 options UIViewAnimationOptionTransitionCrossDissolve.. as a child view controller self addChildViewController toVC self transitionFromViewController fromVC toViewController toVC duration 0.3 options UIViewAnimationOptionTransitionCrossDissolve animations NULL completion ^ BOOL finished fromVC willMoveToParentViewController..