I have UIViewController A, UIVC B, and A has a segue to B. (Using a button) B has an "OK" button that pops up a window, and once I click "Accept" in the pop up, I want it to return back to UIVC A, or back to be upon "Cancel". Now, the cancel part is easy. How do I implement the returning back to A?
This link has a full, awesome explanation about how it needs to be done.
https://www.andrewcbancroft.com/2015/12/18/working-with-unwind-segues-programmatically-in-swift/