Sending value on dismissal of sheet segue?

100 Views Asked by At

I am struggling to find recent documentation and information on the sheet segue, hence my asking. I have a main view controller, which when a button is pressed triggers a sheet segue.

The sheet is then dismissed with another button and I am looking to transfer a value back to the original view controller when the sheet is dismissed.

I have tried using delegates and 'prepare' as if the dismissal is another segue in itself but both proved fruitless.

This may be a simple issue but I am new to the platform, any help much appreciated!

0

There are 0 best solutions below