Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
In XCode's storyboard editor, if you set an action on your VC such that you can drag a button to the Exit icon under the View, you are given the option to set an identifier for the unwind segue that is then passed into 'GetSegueForUnwinding' on your custom navigation view controller. You can use this ID to know which unwind segue to new up and return from 'GetSegueForUnwinding'. Right now the only way to set this is to open the storyboard in XCode.
You can find sample code as well as a YouTube video that shows this limitation at the link below. In the YouTube video, it is covered at the ~12 minute mark:
IN addition I don't see a way to create an unwind segue from the View Controller itself to the scene exit. This can be done in Xcode IB by dragging from the View Controller icon to the scene exit and selecting the Unwind action method that you want. This allows having an unwind segue that is not attached to a button but can be called from code with PerformSegue(identifier, sender).
All of this can be done in Xcode IB though: http://screencast.com/t/glGZsTgbdg
Another note... the unwind segues show as blank lines in iOS Designer Document Outline. From the sample app in our unwind segue guide: http://developer.xamarin.com/recipes/ios/general/storyboard/unwind_segue/
Selecting that blank line seems to select the UnwindToYellow segue. But nothing shows in the Properties pane for these blank line items in the Document outline. There are actually three more black lines in the Document Outline.
@Jon, the other issues you mention are other bugs: #21332 and #20724
The issue of setting the unwind segue ID is fixed by md-addins master cf8612f1e85c01e6ba50cb69a5267134e14c2015