14
I have a tab based application. One of the views in it is pushing a modal view controller. If I call self.presentingViewController within a modal view controller, it returns tab bar controller, not the view controller which is pushing it.
What am I missing here? Is there a reliable way to return a view controller raising modal?
Thanks.