Skip to content

Flicker at the end of transition animation. #14

@dannybabiy

Description

@dannybabiy

If the two transitioning views have transparent backgrounds, you see a flicker at the end of the animation.

I resolved it by adding the following in ADDualTransition.m, at the end of finishInit

_inAnimation.fillMode = _outAnimation.fillMode = kCAFillModeForwards;
_inAnimation.removedOnCompletion = _outAnimation.removedOnCompletion = NO;

I haven't tested across all transitions, but it seems to do the trick for ADSwipeTransition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions