Indicates to the system that the view controller status bar attributes have changed.
- iOS 7.0+
- Mac Catalyst 13.0+
Call this method if the view controller's status bar attributes, such as hidden/unhidden status or style, change. If you call this method within an animation block, the changes are animated along with the rest of the animation block.