I right now I have a timer. When the user hits a button the timer stops. I would like the label that displays what the timer to be transferred to another view controller. I guess that would mean to segue it. I just don’t know how to do it. I have included a picture below. Of what I am trying to do.
One way is to use contained views so that the timer remains in place in the current view controller and does not move, but a contained view above it is animated in over the top of the existing view - it looks a bit like a navigation controller in action but you stay on the same view controller.
A simpler way is just to have a timer in the same position in the new view controller, initialise its value in
prepareForSegue and keep it running in the same way as the old one did.