Interface UIViewControllerAnimatedTransitioning

    • Method Detail

      • animateTransition

        void animateTransition​(@NotNull
                               @NotNull UIViewControllerContextTransitioning transitionContext)
        This method can only be a no-op if the transition is interactive and not a percentDriven interactive transition.
      • animationEnded

        default void animationEnded​(boolean transitionCompleted)
        This is a convenience and if implemented will be invoked by the system when the transition context's completeTransition: method is invoked.
      • interruptibleAnimatorForTransition

        @NotNull
        default @NotNull UIViewImplicitlyAnimating interruptibleAnimatorForTransition​(@NotNull
                                                                                      @NotNull UIViewControllerContextTransitioning transitionContext)
        A conforming object implements this method if the transition it creates can be interrupted. For example, it could return an instance of a UIViewPropertyAnimator. It is expected that this method will return the same instance for the life of a transition. API-Since: 10.0
      • transitionDuration

        double transitionDuration​(@Nullable
                                  @Nullable UIViewControllerContextTransitioning transitionContext)
        This is used for percent driven interactive transitions, as well as for container controllers that have companion animations that might need to synchronize with the main animation.