Instance Property

state

The current state of the animation.

Required.

Declaration

@property(nonatomic, readonly) UIViewAnimatingState state;

Discussion

This property reflects the current state of the animation. An animator object starts in the UIViewAnimatingStateInactive state. Calling the startAnimation or pauseAnimation method changes the state to UIViewAnimatingStateActive. Changing the fractionComplete property also moves the animator to the active state. The animator remains in the active state until its animations finish, at which point it moves back to the inactive state.

Calling the stopAnimation: method changes the state of the animator to UIViewAnimatingStateStopped. When in this state, the animations are stopped and cannot be restarted until you call the finishAnimationAtPosition: method, which returns the animator to the inactive state.

See Also

Getting the Animator’s State

fractionComplete

The completion percentage of the animation.

Required.

reversed

A Boolean value indicating whether the animation is running in the reverse direction.

Required.

running

A Boolean value indicating whether the animation is currently running.

Required.