mediaServicesWereResetNotification
A notification the system posts when the media server restarts.
Declaration
class let mediaServicesWereResetNotification: NSNotification.NameDiscussion
Under rare circumstances, the system terminates and restarts its media services daemon. Respond to these events by reinitializing your app’s audio objects (such as players, recorders, converters, or audio queues) and resetting your audio session’s category, options, and mode configuration. Your app shouldn’t restart its media playback, recording, or processing until initiated by user action.
This notification has no userInfo dictionary.
The system posts this notification on the main thread.