The easiest way to see this problem is to run a sample project here:
http://drop.io/stackproblem
Basically, this is a uisplitviewcontroller that can switch between two detailed views, both of which are navigation controllers.
The problem is that it crashes with the following error:
MultipleDetailViews [8531: 207] * Application termination due to unselected "NSInvalidArgumentException" exception, reason: "Popovers cannot be presented from a view that does not have a window."
It crashes with this error if you use the application in the PORTRAIT and you move (still in the portrait) from the first controller, to the second, to the first, to the second, and then wake up CRASH using the popover controller.
One way to stop the crash is to stop the lazy loading of the navigation controllers and load them every time, but this is not an option for the application I am making.
Any ideas and I can fall in love.
source
share