Re: New AVAudioSession iOS 6 notifications?
Re: New AVAudioSession iOS 6 notifications?
- Subject: Re: New AVAudioSession iOS 6 notifications?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 22 Feb 2013 08:02:28 -0800
On Thu, Feb 21, 2013, at 04:34 PM, Douglas Scott wrote:
> The notification system uses AVAudioSessionInterruptionNotification. In
> the documentation, you will see that a key is provided to tell you
> whether the interruption is beginning or ending.
The documentation quite clearly states that there are supposed to be two
_separate_ notifications, named
AVAudioSessionDidBeginInterruptionNotification and
AVAudioSessionDidEndInterruptionNotification, neither of which carries a
userInfo payload:
http://developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVAudioSession_ClassReference/Reference/Reference.html
It mentions these notifications alongside
AVAudioSessionInterruptionNotification, which is documented to carry
useful information in its userInfo dictionary.
So you can't blame Dave for expecting to receive the notifications that
AVAudioSession is documented to send. But hey, this is Core Audio, why
should we ever expect the docs to be right?
--Kyle Sluder
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden