I can’t seem to figure out why the dismiss code isn’t working. I’m using Xcode 6
[self.presentingViewController dismissViewControllerAnimated:YES completion:nil];
the method gets called whenever the done button is pressed, however dismissViewControllerAnimated doesn’t get execute.
Any help would be greatly appreciated!