unwind segue not work
You have put your unwind segue code in the wrong viewController. It should be located in the controller you wish to unwind TO, not the controller you are returning FROM.
You have put your unwind segue code in the wrong viewController. It should be located in the controller you wish to unwind TO, not the controller you are returning FROM.