I am having trouble getting my modal view controllers to display properly. I have a parent view controller that is the delegate for modal view A. In modal v
You could use this
[[[self presentingViewController] presentingViewController] dismissModalViewControllerAnimated:YES];