Apple has added Shazam now lets users identify songs within apps while wearing headphones / 9to5mac The latest version of the Shazam app has the function of recognizing songs through headphones. So far, it is only available on iPhone and iPad.
This option will be useful in cases when you want to find out the name of a song from another application, for example, TikTok or YouTube, but there is no way to play it through the speaker.
For example, you can open Shazam, and then switch to another service, and the app will detect all the songs playing in it in the background. To see their names, you just need to go back to Shazam. You can immediately add the finds to your Apple Music playlist and listen to them in full.