uiview animation used to work on iphone sdk 2.2 and now it doesn't on sdk 3.0
- by nico
hello!
I have an animation block that worked fine when runnung the app on iphone OS 2.2. Now I compile the same code for iphone OS 3.0 and it doesn't work.
UIViewAnimationTransition trans = UIViewAnimationTransitionFlipFromLeft;
[UIView beginAnimations: nil context: NULL];
UIView *forview = [[self view] superview];
[UIView setAnimationTransition: trans forView:forview cache: YES];
[UIView setAnimationDuration:1.0];
[[self navigationController] popViewControllerAnimated:NO];
[UIView commitAnimations];
What the code does, it uses the navigation controller to change the top most view, but with the flip transition and not with the built in one.
any ideas on what might have change in the sdk or what I'm doing wrong?
thanks!!