MPFoldTransition
MPFoldTransition copied to clipboard
Hard switch in UINavigationBar when using UINavigationController category
Hi,
I'm using the category on UINavigationController to animate push/pop using a fold transition. The animation of the content area is perfect, however at the end of the animation, the UINavigationBar is hard switched over to the new content, which looks a bit disturbing. Is there a way to fix this, i.e. using a crossfade on the UINavigationBar?
I tried to create a cross-fade animation of the UINavigationBar main layer in the transition completion block where the non-animated push is being performed, but that didn't change anything.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UINavigationController_Class/Reference/Reference.html#//apple_ref/occ/instm/UINavigationController/setNavigationBarHidden:animated:
@viking2009 Thanks for your comment, I'm not sure whether I understand the relevance of setNavigationBarHidden:animated: in the context of the hard switching over of the old title and navigation buttons to the new title and navigation buttons. Could you slightly enhance your comment?