When your iPhone's microphone is on or was recently accessed, a small orange dot appears in the upper-right hand corner of the screen. If your camera is in use or was recently recording, you'll see a green dot.