I've just found exactly same question but answers mostly connected to problem workaround...
Is this fact (for me it looks like a bug) so obvious(or well-known) that peoples do not even try to find explanation?
In case this is really well-known bug in SDK... Can somebody share his experience about most famous bugs in iPhone SDK (up to 2.2.1 FW)? It would be very useful to collect them and avoid needless questions.
Returning back to discussed issue...
I'm still interested: Is parentViewController always a Navigation controller? (in described conditions: similar question at SO)
I've built same controllers sequence at my app and was confused.
Apple doc told us:
parentViewController
The underlying view controller if this view controller is a modal view controller; otherwise, the enclosing navigation or tab bar controller. nil if none of these are present. (read-only)
UIViewController Class Reference
In our case we have underlying view controller but nevertheless received navigation controller. So what is it? Do we have same value at navigationController and parentViewController?
Thank you, Mike/