The app in question has a MainView->ModalView
pair. The ModalView
is shown via UIModalTransitionStyleFlipHorizontal
. In case of didReceiveMemoryWarning
, MainView
is dumped (since it is not visible) and the app stays "alive" but when you flip back there is a (very) short period of time when the screen is blank (since the modal dialog is returning to a now-deallocated view). When the animation transition is over, MainView
is regenerated and all is ok.
I just would like to somehow regenerate MainView
before returning from ModalView
(in case of a memory warning).
Is this a good idea? Am I doing something wrong as far as the warning is concerned?
Thanks