I've found an issue with all modals in my app that are being dismissed with [self dismissModalViewControllerAnimated:YES completion:nil];
[self dismissModalViewControllerAnimated:YES completion:nil];
When I have PonyDebugger enabled, every modal dismisses without animation. When I turn it off, the modals dismiss with animation like normal.
Do you have PonyDebugger's view hierarchy debugging enabled?
Commenting out the line
also fixes the modal animation.
I've had this issue as well. It only happens with default modal animations (the horizontal flip modal animation still works).
Good catch! I made a mistake in the swizzled exchangeSubviewAtIndex:withSubviewAtIndex: which was responsible. I will open a pull request later tonight.
Reminds me of one of my favourite Cocoa selector names (from UIViewController):