---
title: autoreverse
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiview/animationoptions/autoreverse
---

# autoreverse

Run the animation backwards and forwards (must be combined with the repeat option).

## Declaration

```swift
static var autoreverse: UIView.AnimationOptions { get }
```

## See Also

### Constants

- [layoutSubviews](uikit/uiview/animationoptions/layoutsubviews.md)
- [allowUserInteraction](uikit/uiview/animationoptions/allowuserinteraction.md)
- [beginFromCurrentState](uikit/uiview/animationoptions/beginfromcurrentstate.md)
- [repeat](uikit/uiview/animationoptions/repeat.md)
- [overrideInheritedDuration](uikit/uiview/animationoptions/overrideinheritedduration.md)
- [overrideInheritedCurve](uikit/uiview/animationoptions/overrideinheritedcurve.md)
- [allowAnimatedContent](uikit/uiview/animationoptions/allowanimatedcontent.md)
- [showHideTransitionViews](uikit/uiview/animationoptions/showhidetransitionviews.md)
- [overrideInheritedOptions](uikit/uiview/animationoptions/overrideinheritedoptions.md)
- [curveEaseInOut](uikit/uiview/animationoptions/curveeaseinout.md)
- [curveEaseIn](uikit/uiview/animationoptions/curveeasein.md)
- [curveEaseOut](uikit/uiview/animationoptions/curveeaseout.md)
- [curveLinear](uikit/uiview/animationoptions/curvelinear.md)
- [transitionFlipFromLeft](uikit/uiview/animationoptions/transitionflipfromleft.md)
- [transitionFlipFromRight](uikit/uiview/animationoptions/transitionflipfromright.md)
