# Animation Book Chapter 3, hide animation is not workign

**URL:** <https://forums.kodeco.com/t/animation-book-chapter-3-hide-animation-is-not-workign/106313>\
**Category:** iOS Apprentice\
**Created:** [April 22, 2020, 2:24am UTC](https://forums.kodeco.com/t/animation-book-chapter-3-hide-animation-is-not-workign/106313 "2020-04-22T02:24:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![morteza2128](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/morteza2128/32/93800_2.png) [@morteza2128](https://forums.kodeco.com/u/morteza2128)\
**Post date:** [April 22, 2020, 2:24am UTC](https://forums.kodeco.com/t/animation-book-chapter-3-hide-animation-is-not-workign/106313/1 "2020-04-22T02:24:29Z")

</div>

In the book, it says to put this code to animate hiding status view but status disappear suddenly

UIView.transition(with: status, duration: 0.2, options: .transitionFlipFromTop, animations: {  
self.status.isHidden = true  
self.status.center = self.statusPosition  
}, completion: nil)

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [July 5, 2020, 12:14am UTC](https://forums.kodeco.com/t/animation-book-chapter-3-hide-animation-is-not-workign/106313/2 "2020-07-05T00:14:19Z")

</div>

@morteza2128 Does this happen in the sample project for the chapter too?

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [October 5, 2020, 6:28pm UTC](https://forums.kodeco.com/t/animation-book-chapter-3-hide-animation-is-not-workign/106313/3 "2020-10-05T18:28:06Z")

</div>

Closed on October 5, 2020, 6:28pm UTC

This topic was automatically closed after 166 days. New replies are no longer allowed.
