setNavigationBarHidden(Bool, Bool) 动画的默认时间间隔
Default Time Interval for setNavigationBarHidden(Bool, Bool) Animation
Swift 动画的默认时间间隔是多少,例如 UINavigationController
class 的 setNavigationBarHidden(Bool, animated: Bool)
和 setToolbarHidden(Bool, animated: Bool)
方法?我想知道我的动画是否匹配相同的持续时间。
来自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.
0.2秒
Swift 动画的默认时间间隔是多少,例如 UINavigationController
class 的 setNavigationBarHidden(Bool, animated: Bool)
和 setToolbarHidden(Bool, animated: Bool)
方法?我想知道我的动画是否匹配相同的持续时间。
来自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.
0.2秒