A notification that’s posted when the primary audio from other applications starts and stops.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Subscribe to this notification to ensure that the system notifies your app when optional secondary audio muting should begin or end. The system sends this notification only to registered listeners who are currently in the foreground and have an active audio session.
user dictionary contains a
AVAudio value for the
AVAudio. Use the audio hint type to determine if your secondary audio muting should begin or end.
The system posts this notification on the main thread.