Custom Segue VS Custom Transition
Asked Answered
C

1

10

Today I tried to perform a custom segue for UINavigationController push/pop operations and I didn't find a solution.

I can obviously perform the push operation with a custom segue with no problem, but the pop operation (using the default back button) seems to be complicated (Some notes here https://developer.apple.com/library/ios/technotes/tn2298/_index.html).

On the other side with iOS 7 performing custom transitions is quite simple and I can achieve a custom push/pop operations thanks to new APIs.

I which case you choose to create custom transitions and when you just work with custom segue?

My question is probably quite generic and it depends on what we need to do... But I'd like to have your opinion.

Curassow answered 11/11, 2013 at 18:56 Comment(1)
I have exactly the same question.Outermost
A
1

You can't perform a pop navigation with segues, A segues is only forward or one Directional, it can go reverse from its tack trace, you would have to manually pop your controllers using a back button, also I would go for Segues if I have a simple navigational app like the one's where you go from one controller to next , but choose Custom Transitions, when the navigation depends upon the data values or you need to perform a different action at a different input

Assay answered 24/7, 2014 at 10:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.