I am trying to have a countdown timer in a interface controller and when the time is 0 I would like it to perform a segue to the next interface controller.
Is there any way to do this?
if secondsLeft == 0 {
pushController(withName: "RunGameInterfaceController", context: nil)