I use split view in my app, and I present a dialog with UIModalPresentationFormSheet style in popover controller in portrait mode, but after I rotate to landscape mode the dialog disappeared automatically. I don't want it disappear, I would like user could use the dialog after rotation, what can I do?
I found that if I present the dialog in landscape mode for the 1st time, the dialog wouldn't disappear after rotating to portrait mode, it's strange.
Any hints or help would be highly appreciated.