Open fatuhoku opened 9 years ago
I fixed it like this: in ADFlipTransition.m, line 335 where last completion block begins:
if (modal) {
[srcViewController presentViewController:[self destinationViewController] animated:NO completion:^{
[destView removeFromSuperview];
}];
[[self sourceView] setHidden:NO];
}
else
{
[destView removeFromSuperview];
}
The key is to remove destView only after srcViewController has been presented.
Sorry but I'm too busy to maintain my OSS stuff these days. Feel free to make a pull request with the changes.
Tested on the simulator.