I am attempting to create an unwind segue but nothing will connect to it when ctrl+dragging. Also when I right click on the Exit icon there are no options available.
Any ideas?
You need to have an IBAction defined on a view controller that takes an argument of type "UIStoryboardSegue *".
Something like this:
@interface MyViewController ... - (IBAction)unwindFromConfirmationForm:(UIStoryboardSegue *)segue { } ... @end
Swift 3 Version
@IBAction func unwindToViewController(segue: UIStoryboardSegue) { //code }
Provided by DoruChidean in https://stackoverflow.com/a/46199117/250190
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With