How to handle iPad Modal View rotation

Posted by Farha Ansari on Stack Overflow See other posts from Stack Overflow or by Farha Ansari
Published on 2010-05-22T04:04:50Z Indexed on 2010/05/22 4:10 UTC
Read the original article Hit count: 620

Filed under:

Hi,

I have 2 views, each for portrait and landscape. I start by displaying the portrait view. On both the views, I have a button, which presents a modal view on clicking it. When the modal view comes up and then I rotate the iPad, the portrait view is replaced by the landscape view, but the modal view goes behind this view. Any idea how to bring the modal view again to the front after the rotation?

Thanks for the help Farha

© Stack Overflow or respective owner

Related posts about ipad