You should show code, that would be much easier to explain.
I want other players
You want a single player to play at any time ?
So, you should have a reference to the activePlayer declared at the class level.
It is nil to begin with.
When you Play, you should first stop the activePlayer (after testing it is not nil)
Then dismiss and set to nil
Then create a new player instance and set it to activePlayer.
If you have a stop func, do the same:
stop the active player, dismiss it and set to nil.
Could you better explain your Extra question ?
Topic:
Programming Languages
SubTopic:
Swift
Tags: