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

# showHideTransitionViews

Hide or show views during a view transition.

## Declaration

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

## Discussion

Discussion When present, this key causes views to be hidden or shown (instead of removed or added) when performing a view transition. Both views must already be present in the parent view’s hierarchy when using this key. If this key is not present, the to-view in a transition is added to, and the from-view is removed from, the parent view’s list of subviews.

## 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)
- [autoreverse](uikit/uiview/animationoptions/autoreverse.md)
- [overrideInheritedDuration](uikit/uiview/animationoptions/overrideinheritedduration.md)
- [overrideInheritedCurve](uikit/uiview/animationoptions/overrideinheritedcurve.md)
- [allowAnimatedContent](uikit/uiview/animationoptions/allowanimatedcontent.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)
