Unwind segue dismissing two view controllers when the presenting view controller is a UIViewController presented by a child of tabbarController. Here's the structure:
tabBarController (root) -> child(first tab) -> MiddleViewController -> TopViewController
When I perform segue(unwind) from TopViewController, it gets dismissed and dismisses the MiddleViewController. Would it be because the presentingViewController of middleViewController is a child of the tabBarController? The function with segue parameter is indeed inside MiddleViewController. What would be the problem?
The TopViewController presentation style is .OverCurrentContext
