public interface UIViewControllerTransitionCoordinatorContext
| Modifier and Type | Method and Description |
|---|---|
long |
completionCurve() |
double |
completionVelocity() |
UIView |
containerView()
The view in which the animated transition is taking place.
|
boolean |
initiallyInteractive()
initiallyInteractive indicates whether the transition was initiated as an interactive transition.
|
boolean |
isAnimated()
Most of the time isAnimated will be YES.
|
boolean |
isCancelled()
isCancelled is usually NO.
|
boolean |
isInteractive()
Interactive transitions have non-interactive segments.
|
boolean |
isInterruptible() |
double |
percentComplete()
These three methods are potentially meaningful for interactive transitions that are
completing.
|
long |
presentationStyle()
A modal presentation style whose transition is being customized or UIModalPresentationNone if this is not a modal presentation
or dismissal.
|
CGAffineTransform |
targetTransform()
This is either CGAffineTransformIdentity (indicating no rotation), or a rotation transform of +90, -90, or 180.
|
double |
transitionDuration()
The full expected duration of the transition if it is run non-interactively.
|
UIViewController |
viewControllerForKey(java.lang.String key)
Currently only two keys are defined by the system:
UITransitionContextToViewControllerKey
UITransitionContextFromViewControllerKey
|
UIView |
viewForKey(java.lang.String key)
Currently only two keys are defined by the system:
UITransitionContextToViewKey
UITransitionContextFromViewKey
|
long completionCurve()
double completionVelocity()
UIView containerView()
boolean initiallyInteractive()
boolean isAnimated()
boolean isCancelled()
boolean isInteractive()
boolean isInterruptible()
double percentComplete()
long presentationStyle()
CGAffineTransform targetTransform()
double transitionDuration()
UIViewController viewControllerForKey(java.lang.String key)
UIView viewForKey(java.lang.String key)