So, any clue on this? I had to use [self dismiss modalviewcontroller to dismiss modalviews. Funny fact: when dismissing a tabbarcontroller I could still use the reference to parentviewcontroller, when dismissing a regular viewcontroller, not.
Share
On iOS 5 you will need to use the
presentingViewControllerselector instead of theparentViewControllerselector.