views:

47

answers:

1

how can we combine flipsideview controller and navigationcontroller in iphone

A: 

If you want to push new item to viewController's stack with flip animation, here is the answer

[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:2.0f];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:getAppDelegate().window cache:NO];
[getAppDelegate().navigationController pushViewController:controller animated:YES];
[UIView commitAnimations];

getAppDelegate() returns [[UIApplication sharedApplication] delegate]

Morion