Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard switch in UINavigationBar when using UINavigationController category #16

Open
mickeyl opened this issue May 3, 2013 · 2 comments

Comments

@mickeyl
Copy link

mickeyl commented May 3, 2013

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.

@mickeyl
Copy link
Author

mickeyl commented May 4, 2013

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants