I have 2 UIView for my app, one main view, and one detailed view. From the main View, I open a detailed detailed view, where I have a table, with a segue. I want to return to the main view when clicking in one of the cells of this table. As I want to return some data, I set up a segue, but yet I was not able to run the code in the segue, and then return to the main view. It works when adding a button (exit), but not when using the code
I already checked this: Using delegates to transfer data from one TableView to another and lots of others, but I didn't found somebody who has the same problem.
Do you have any idea how to solve this?
Thanks a lot, Alexander