2

Following with the UIViewController worked until iOS 15. Status bar animated with the 'slide' method. Now it just fades away.

self.setNeedsStatusBarAppearanceUpdate()


override final var prefersStatusBarHidden : Bool {
    return false
}

override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
    return .slide
}

Is this a bug?

Gizmodo
  • 3,151
  • 7
  • 45
  • 92
  • 4
    Definitely seems like a change. Either they've deliberately gotten rid of slide or it's a bug. But please rewrite the question so that the code is runnable and actually does something. – matt Sep 22 '21 at 22:38

0 Answers0