detects if the game is played with ipad