• Set the game to pause instead of the loop to stop when a modal view controller is presented.