Dismissing a modal view in horizontal orientation?

Posted by Sheehan Alam on Stack Overflow See other posts from Stack Overflow or by Sheehan Alam
Published on 2010-03-22T20:44:57Z Indexed on 2010/03/23 1:31 UTC
Read the original article Hit count: 402

I have a modal view that is presented and dismissed fine when my device is in vertical orientation. I have problems when my modal view is presented in the vertical orientation, but dismissed in horizontal orientation. The entire app switches back to vertical orientation automatically. How can I ensure that if I am in horizontal orientation, the view should dismiss properly?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch