0
votes

Environment:
iOS 8.2
Xcode 6.2

Scenario:
A Container ViewController containing child view controllers via customized segues off of an embedded segue.

Here's the relationship: enter image description here

I can pop from the table view (origin) into the 'Media Collection' view controller (destination) via a customized segue. However I can't return (back to origin) using the unwind segue:

enter image description here

...even though I see the IBAction from the unwind menu:

enter image description here

But the action method is still not linked to the Unwind icon. As you can see, there's no indication of a link: enter image description here

How can I get this link and have it function?
How can I get

println("--- {EditContainer} returned ---")

to work?


Revision:
I manually linked the container's 'back' button to the origin's unwind handler per feedback suggestion:

enter image description here

enter image description here

Here's the origin's unwind handler (abridged): enter image description here

However, once again, I don't get a link.
Note: This is from the container which has the 'back' button and not from the destination; with an intend link to the origin member within the container. - that fails.

1
Upvoting because of the quality of the post. Thank you.Zane Helton
have the same issue.. you get a resolution?bkopp

1 Answers

0
votes

returnToEditList(segue:UIStoryboardSegue) needs to be in the origin view controller for the unwind to be called. If it is in the Media Collection controller it will never fire.