I am adding UIViewController modally and want to apply a UIViewAnimationTransitionCurlDown transition. The code below does not work well. It's kind of trying to transition but quickly shakes the view and nothing happens. Please suggest what can be done. This is my first time adding UIViewController modally.
aboutViewController = [[AboutViewController alloc]
initWithNibName:@"AboutViewController" bundle:nil];
[self presentModalViewController: aboutViewController animated: YES];
UIViewAnimationTransition trans = UIViewAnimationTransitionCurlDown;
[UIView beginAnimations: nil context: nil];
[UIView setAnimationTransition: trans forView: [aboutViewController view] cache: YES];
[UIView commitAnimations];