Re: Interrupted by SIRI before registering interruption callback.

2014-10-28 Thread Beinan Li
Ok, I got it. If SIRI kicks in during audio session initialization, some AVAudioSession methods will return an error code 'siri' or AVAudioSessionErrorCodeSiriIsRecording. If the session is initialized with success, then I can rely on the interruption notification. Sorry for the fuss. Thanks, Bei

Interrupted by SIRI before registering interruption callback.

2014-10-28 Thread Beinan Li
Hello CocoaDev: My app can be interrupted by SIRI before registering an interruption notification using AVAudioSession. The route-change notification is not registered at the time either. The app needs to tell the difference between waking up from SIRI's interruption and something else. So I need