DAExpandAnimation icon indicating copy to clipboard operation
DAExpandAnimation copied to clipboard

Navigation Bar/pushViewController

Open SikandAlex opened this issue 8 years ago • 2 comments

I really love this animation but I need to use it with a navigation controller. The problem I'm having is that to add the toViewController to the navigation stack I need to use the pushViewController method instead of just presenting the new View Controller (i.e. presentViewController).

Do you have any advice on how to do this? I apologize if I sound amateurish, I'm relatively new to iOS development but I fully understand Swift and View Controllers and the Navigation Stack, I'm just struggling with the animation and how to use it for my project.

SikandAlex avatar Jul 18 '16 16:07 SikandAlex

I know that I can embed the toViewController in a Navigation Controller and make it the root view but I wouldn't get the built-in back button and I'm looking for something that would better conform to Apple's Human Interface Guidelines so that my app isn't rejected from the app store.

It looks like people have looked into it here and I was wondering if it's possible for you to build something like this.

http://stackoverflow.com/questions/22884111/how-to-use-uiviewcontrolleranimatedtransitioning-with-uinavigationcontroller?noredirect=1&lq=1

SikandAlex avatar Jul 18 '16 17:07 SikandAlex

Ditto. Great transition animation but I need it to work with a push segue

fraserscottmorrison avatar Mar 05 '19 22:03 fraserscottmorrison