I'm encountering with a weird issue on iOS 8 the latest beta.
My view is disappearing from the window hierarchy in oppose to iOS7 - basically I'm replacing my UINavigationController
with a new one at some point.
This code worked with no issues until iOS 8 , any idea why?
If I'm adding the UINavigationController
to the keyWindow
- it actually bypass this issue and the view actually "stays" in the window hierarchy :
[[[UIApplication sharedApplication] keyWindow] addSubview:myUINavigationController];
But I don't like this "hack".
I think what you're looking for is this in your AppDelegate's didFinishLaunchingWithOptions method: