ADFlipTransition icon indicating copy to clipboard operation
ADFlipTransition copied to clipboard

Visible screen flicker when view controller is scaled

Open hokster7 opened this issue 10 years ago • 2 comments

Tested on the simulator.

hokster7 avatar Jul 10 '15 09:07 hokster7

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.

mixtly87 avatar Nov 22 '15 09:11 mixtly87

Sorry but I'm too busy to maintain my OSS stuff these days. Feel free to make a pull request with the changes.

adamdebono avatar Nov 22 '15 21:11 adamdebono