Shazam’s update adds the ability to identify songs playing in other apps while headphones are in use.

Shazam has long identified songs playing in other apps, but previously could not do so when headphones were connected to iPhone. Version 17.3 removes that limitation.
The feature works with wired or Bluetooth headphones, including third-party models; Apple-made accessories are not required.
Open Shazam and check the headphone icon to confirm a connection. You can then identify nearby music or songs playing in apps such as TikTok, Instagram and YouTube.
Apple acquired Shazam in 2018. The app is available on the App Store.