Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UINavigationControoller - setNavigationBarHidden:animated: How to sync other animations

How can I capture the animation curve and speed when I hide the navigation bar programmatically? I would like to sync other animations with this one for a fluid transition :)

like image 347
phoganuci Avatar asked Nov 28 '22 01:11

phoganuci


1 Answers

If you check the UINavigationController documentation there is this line:

For animated transitions, the duration of the animation is specified by the value in the UINavigationControllerHideShowBarDuration constant.

like image 89
Stefan Ticu Avatar answered Dec 06 '22 23:12

Stefan Ticu