I want to call “presentmodalviewcontroller” when the iPhone / iPod Touch is rotated to landscape mode with a flip animation. When it gets rotated back to portrait, I want to present the first view again, again with the flip animation.
Weren’t able to find something working on the web 🙁
I’m sure you can help me 🙂
Thanks a lot !
Sebastian
In your UIViewController, accept all interface orientations:
And your controller will start receiving rotation messages, like:
and
Where you can react to rotation and do things like present/dismiss modal viewcontrollers.