Group Group Group Group Group Group Group Group Group

Animation Book Chapter 3, hide animation is not workign

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)

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