Note that there are some explanatory texts on larger screens.

plurals
  1. POUINavigationController custom animation
    primarykey
    data
    text
    <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/1406037/custom-animation-for-pushing-a-uiviewcontroller">Custom animation for pushing a UIViewController</a> </p> </blockquote> <p>Any of you achieved to make custom animation like expand from middle in UINavigationController? (for example Facebook app when you select news feed from the launcher view)</p> <p>I seen one of trick like animating the view of the desired next controller but I am using Three20 framework and getting the next controller view is difficult.</p> <p>So my only option is to play around with CATransition. I could manage to get some sort of animation that close to what I want using this piece of code.</p> <pre><code>CATransition* transition = [CATransition animation]; transition.duration = 1; transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]; transition.type = kCATransitionFade; transition.subtype = kCATransitionReveal; [self.navigationController.view.layer addAnimation:transition forKey:kCATransition]; </code></pre> <p>what it will do? It will animate fading type of animation. What I want is something like scale the view frame from CABasicAnimation.</p> <pre><code>anim.fromValue = [NSValue valueWithCATransform3D:CATransform3DMakeScale(0.1, 0.1, 1.0)]; anim.toValue = [NSValue valueWithCATransform3D:CATransform3DMakeScale(1.0, 1.0, 1.0)]; </code></pre> <p>do you guys know how to achieve this? Something like transformation animation inside CATransition.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload