There is one controller, for example, "C" , which can be reached from two places "A" and "B" .
Transitions in the storyboard assigned identyfire , for example, "iA" and "iB" , but when moving from А you need to perform an additional method.
The question is: how to track which controller c is making the transition to "C" , and what would the if condition look like to call an additional method?