What is the default time interval for Swift animations like the setNavigationBarHidden(Bool, animated: Bool) and setToolbarHidden(Bool, animated: Bool) methods of the UINavigationController class? I would like to know so that my animations match the same duration.
From Apple docs:
UINavigationControllerHideShowBarDuration
A global constant that specifies a preferred duration when animating the navigation bar. This variable specifies the duration when animating the navigation bar.
It is 0.2 seconds.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With