Re: unwind custom segue and uinavigationcontroller
Re: unwind custom segue and uinavigationcontroller
- Subject: Re: unwind custom segue and uinavigationcontroller
- From: Torsten Curdt <email@hidden>
- Date: Fri, 22 Mar 2013 09:31:28 +0100
> I know quite a lot about segue unwinding. See my book for lots of info:
>
> http://www.apeth.com/iOSBook/ch19.html#_unwind_segues
Wow - that's the first proper write up I've read. Thanks!
>>Now the is the question how do I tell the navigation controller to use
>>my custom segue when popping back?
>
> Oh. So your question is *not* actually about segue unwinding. That's disappointing. :)
>
> Seriously, this is not a segue question or an unwind question.
Why not? Just because it's just one level?
> The back button is the back button; it goes back. That's what it does. It only does one thing, because it belongs to the back item (the UIViewController *under* the top view controller in the stack).
A custom segue is used for push - so also a custom segue should be used for pop.
I would think that's a common expectation.
> If you want a button in the UINavigationBar to do something other than "go back", don't use a back button.
I should just go back. I don't want to change that.
It's just about the "how" - the animation.
cheers,
Torsten
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden