For what it’s worth, iPhone shows a visible notification whenever the microphone is actively used. While you’re within an app, this will show as a small orange dot.
If an app attempts to use the microphone in the background, it’ll appear similarly to a phone call, but orange or red in colour.