View Full Version : UIModalTransitionStyleFlipHorizontal flips vertical

John Baughman
Dec 12, 2009, 02:43 AM

infoMainViewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;

Instead of flipping horizontally around it's vertical axis it flips vertically around it's horizontal axis. I thought this might be because the views are in landscape orientation (not allowed to go to portrait), but I see other apps flipping horizontal in landscape orientation. What do I have to do to make it flip horizontal?

Also when it flips, the background shown during the flip is white. Is there a way to change this color or make it keep the background color of one of the views? I have both views set to the same background color at the moment.

Thanks for any help.