Extremely strange problem here: When unwinding from VC3 to VC1, VC3 animates down and behind it is VC3! Then that goes away and I'm back to VC1. It all happens in about 1 second, but it's clearly a duplicate. Anyone know why?
I'd be less surprised if VC2 was behind it, because I transited it to get to VC3 but literally an exact duplicate of VC3 is behind it when it animates down. Any insight would be appreciated.
Code triggered from VC2 to introduce VC3 (no nav. controller in this app):
self.performSegue(withIdentifier: "segueToVC3", sender: self)
Connections inspector of VC3 button that triggers unwind:
Code triggered by VC3 button:
@IBAction func next_toNextQuestion (_ sender: AnyObject) {
self.performSegue(withIdentifier: "unwind_ToNext", sender: self)
}
Then this unwind code in VC1 gets called after a half second delay, which calls a new VC:
@IBAction func unwind_ToNext (_ segue: UIStoryboardSegue) {
callDelayedSegue(delayDuration: 0.5)
}