I have a long View Controllers hierarchy;
in the first View Controller I use this code:
SecondViewController *svc = [[SecondViewController alloc] i
In Swift:
self.presentingViewController?.presentingViewController?.dismissViewControllerAnimated(true, completion: nil)