I'm trying to implement custom view presenting transition style. Here is my code:
[myViewController setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
[self presentViewController:myViewController animated:YES completion:^(void){}];
I'd like to achieve “scale from center” effect while presenting views. I made a demo of desired effect with JQuery UI: http://jsfiddle.net/c7ztP/
Is there any way to do this?
You should write your own Controller with this animation effect.
Look at this controls: KGModal and UAModalPanel.
Check theirs source code for animation example. It's not difficult to rewrite this code to support fullscreen view.
What I would do is the following
From the initiating view controller i would do this
And on the receiving view controller I would do this
For this to work you'll need
QuartzCore.framework
. Also to make it sweeter I would add zero alpha to full alpha animated as it looks better.