When you have an embedded view controller inside a container, how can you detect when it is about to perform a segue?
For example:
I want to detect when a segue happens within the embedded view controller from the view controller containing the container.