Re: unwind custom segue and uinavigationcontroller
Re: unwind custom segue and uinavigationcontroller
- Subject: Re: unwind custom segue and uinavigationcontroller
- From: Matt Neuburg <email@hidden>
- Date: Thu, 21 Mar 2013 09:32:08 -0700
On Thu, 21 Mar 2013 13:47:46 +0100, Torsten Curdt <email@hidden> said:
>I have a hard time understanding the segue unwinding.
I know quite a lot about segue unwinding. See my book for lots of info:
http://www.apeth.com/iOSBook/ch19.html#_unwind_segues
And the downloadable examples at my github site go into even more gory detail.
>I have a simple storyboard setup. UIViewController with
>UINavigationController. On a table cell click a custom segue pushes a
>new UIViewController onto the navigation stack. But then pressing the
>"back" button in the navigation bar, it only uses the default pop
>animation.
>
>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. 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). If you want a button in the UINavigationBar to do something other than "go back", don't use a back button. m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
_______________________________________________
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