Questions tagged [unwind-segue]

Unwind segues give a way to "unwind" the navigation stack back through push, modal, popover, and other types of segues. use unwind segues to "go back" one or more steps in navigation hierarchy. Unlike a normal segue, which create a new instance of their destination view controller and transitions to it, an unwind segue transitions to an existing view controller in navigation hierarchy. use these callbacks to pass data between the view controllers.

312 questions
0
votes
0 answers

Manual unwind segue from UIImagePickerController fails with 'Receiver has no segue with identifier'

I've almost finished converting a large Universal app to use Storyboards, but have one issue that is stumping me. I have created a Scene for a custom UIImagePickerController, but I can't figure out how to unwind from it. I know I could just…
Chuck H
  • 4,546
  • 2
  • 24
  • 27
0
votes
2 answers

How to unwind programmatically to 2 different VC

If we have a situation where you have three ViewControllers. Yellow, green and white one. You can get to the white one through both yellow and green one. See the picture for more clarification: When I segue from yellow to white, I prepare for segue…
SteBra
  • 4,071
  • 5
  • 36
  • 66
-1
votes
1 answer

unwind segue freezes UI

I am using unwind segues in my app to dismiss multiple VCs and return to the original one. The unwind segue works but it freezes the UI for 2 sec when i press the button that triggers it. In the unwind function I do not have anything it is empty so…
-1
votes
2 answers

when i unwind my second view controller all variables in the first view controller become empty

I'm working on project that has multiple view controllers, one of the view controllers has many text fields and a button which when you click it takes u to another view controller which is has map view. When a user selects a place on the map and…
alfhd
  • 35
  • 6
-1
votes
2 answers

Unwind segues with programmatically created view controllers

I have a view controller (PhotoViewController) which has a child view controller (CameraViewController). In CameraViewController, there is a button that sets off a chain of segueing through other programmatically created view controllers. On the…
-1
votes
1 answer

Middle ViewControllers Loading During Unwind

In VC-A I have a IBAction called "unwindToMain". A second VC, VC-B, is loaded and then a third VC. In VC-C I call that unwind function from a button press. The problem is that VC-B appears to be loaded during the unwind. I added some print()…
Dave G
  • 10,974
  • 7
  • 49
  • 74
-1
votes
1 answer

Custom segue and custom unwind segue in swift

I have implemented custom segue and custom unwind segue in a sample app using swift. custom segue is working properly but custom unwind segue give the following error: 2015-06-22 21:05:58.929 Test_Segue[7162:336393] -[__NSSetM perform:]:…
Amit Raj
  • 1,200
  • 3
  • 17
  • 45
-1
votes
3 answers

How to pass data in conditional unwind segue?

I try to build an rss reader. On the "adding feed" page, if I tap the "add" button, I hope to check if the feed is successfully added. If it is added, then trigger the unwind segue, and back to the main page. If it is not added, stay in the current…
Antimony
  • 123
  • 1
  • 9
-1
votes
1 answer

IOS Tab Bar with container

I have a MAIN VC with buttons, then call Item 1 and Item 2 of Tab Bar Controller. In Item 1 I have a container; inside a container a TABLE VIEW, then another Tab Bar Controller. Image below. The question: how I can show the first view of…
-1
votes
1 answer

Unwind Segue doesn't exit the view : Objective-C

I code with Xcode v6.1.1 I have two classes: Reports, and Admin. When we are in Reports (first view), I tap on admin button, and the Admin view appears (second view). When I tap on exit button (in Admin view), I would like that Admin view disappears…
Vjardel
  • 1,005
  • 1
  • 12
  • 26
-2
votes
1 answer

Do something BEFORE unwind segue (swift)

I have an unwind segue which goes back to the previous controller and saves an image to the PHAsset library. The unwind segue works, the saving works, the only issue is that it unwinds before the image saves. Because of that, the image doesn't get…
Josh O'Connor
  • 4,182
  • 6
  • 48
  • 81
-3
votes
1 answer

how link row in tableView to a segue

I have two viewControllers, ViewController and TableViewController. the ViewController has a button, when pressed the TableViewController will start. the TableViewContoller contains 5 rows. what I am trying to do is, when I press only the even rows…
user2121
  • 6,401
  • 13
  • 57
  • 121
1 2 3
20
21