D
D
deleted-mezhevikin2013-10-31 16:01:03
iOS
deleted-mezhevikin, 2013-10-31 16:01:03

Animation when pushViewController in UINavigationController on ios7?

In ios7, the animation with pushViewController has changed, and I really don’t like how it looks now (darkening + slowing down at the end of the animation).
I would like to do as it looked in ios6.
Found two solutions:
1. stackoverflow.com/questions/18867248/restore-pre-i...
Doesn't work when pushing back.
2. github.com/nicklockwood/OSNavigationController - completely replaces UINavigationController, the animation becomes exactly the same as in ios6, but some functions of the native UINavigationController fall off, for example, hidesBottomBarWhenPushed does not work + bugs are observed with navigationBar.
Has anyone come across a fully working solution to this problem?
And do you like the new animation?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
smanioso, 2013-11-14
@deleted-mezhevikin

Another possible solution is custom animation: https://github.com/Dzamir/OldStyleNavigationControllerAnimatedTransition

I did not notice any errors in simple projects.

A
Alexey Storozhev, 2013-10-31
@storoj

I have not tried it, but you can definitely make a custom UIStoryboardSegue, rewrite perform there, get the current controller view, the destination controller view in it, and make the animation.
segue back can also be stretched, for this there is a green Exit icon on the controllers in the storyboard.
I hope this is the right direction.

E
Egor Merkushev, 2013-11-01
@egormerkushev

May help
www.objc.io/issue-5/view-controller-transitions.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question