I have a litle problem. I have a pushviewcontroller and it uses an animation.
My code is like this:
[UIView beginAnimations: @"Showinfo"context: nil];
[UIView setAnimationCurve: UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:0.75];
[self.navigationController pushViewController:dtv animated:YES];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.navigationController.view cache:NO];
[UIView commitAnimations];`
It works good, but when the view is pushed and I go back, this doesn’t do the animation.
So I don’t know how to do the same animation when I go back.
can anyone help me? Thanks!
This is how I’ve always managed to complete this task.
For Push:
For Pop:
[
I still get a lot of feedback from this so I’m going to go ahead and update it to use animation blocks which is the Apple recommended way to do animations anyway.
For Push:
For Pop: